derelict-cuda 1.0.0

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 API is 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.cuda;

void main() {
    // Load the CUDA library.
    DerelictCUDA.load();
    
    // Now CUDA Driver API functions can be called.
    ...
}
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

  • 2 downloads this month

  • 1332 downloads total

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