- Notifications
You must be signed in to change notification settings - Fork3
DerelictOrg/DerelictCUDA
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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][2] and [Using Derelict][3], 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;voidmain() { 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/cuda_home_new.html[2]:http://derelictorg.github.io/compiling.html[3]:http://derelictorg.github.io/using.html
About
Dynamic bindings to the CUDA library for the D Programming Language.
Resources
Stars
Watchers
Forks
Packages0
No packages published