derelict-cuda 3.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][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.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

  • 2 downloads this week

  • 7 downloads this month

  • 1330 downloads total

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