derelict-cuda 3.1.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][1] for the D Programming Language.

Only the Driver and Runtime API are provided for now.

Please see the pages Building and Linking Derelict and Using Derelict, in the Derelict documentation, for information on how to build DerelictCUDA and load the CUDA library at run time. 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.
    ...
}

[1] http://www.nvidia.com/object/cudahomenew.html

Authors:
Guillaume Piolat (p0nce)
Dependencies:
derelict-util
Versions:
3.1.0 2017-Jun-08
3.0.0 2017-Feb-24
2.0.1 2015-Sep-02
2.0.0 2015-May-24
1.1.1 2014-Oct-20
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 28 downloads this month

  • 370 downloads total