derelict-cuda 1.1.1

A dynamic binding to the CUDA API.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

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:
  • 0 downloads today

  • 0 downloads this week

  • 6 downloads this month

  • 1330 downloads total

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