derelict-cuda 2.0.0

A dynamic binding to the CUDA API.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

DerelictCUDA

A dynamic binding to CUDA for the D Programming Language.

Only the Driver and Runtime API are provided for now.

For information on how to build DerelictCUDA and link it with your programs, please see the post Using Derelict at The One With D.

For information on how to load the CUDA library via DerelictCUDA, see the page DerelictUtil for Users at the DerelictUtil Wiki. In the meantime, here's some sample code.

import derelict.cuda;

void main() {

    DerelictCUDADriver.load();
    // Now CUDA Driver API functions can be called.

    // Alternatively:
    DerelictCUDARuntime.load();
    // Now CUDA Runtime API functions can be called. Driver and Runtime API are exclusive.
    ...
}
Authors:
  • ponce
Dependencies:
derelict-util
Versions:
3.1.1 2017-Dec-29
3.1.0 2017-Jun-08
3.0.0 2017-Feb-24
2.0.1 2015-Sep-02
2.0.0 2015-May-24
Show all 9 versions
Download Stats:
  • 1 downloads today

  • 7 downloads this week

  • 25 downloads this month

  • 1037 downloads total

Score:
2.0
Short URL:
derelict-cuda.dub.pm