DerelictCUDA

所属分类:collect
开发工具:D
文件大小:0KB
下载次数:0
上传日期:2019-02-22 18:22:43
上 传 者sh-1993
说明:  到D编程语言的CUDA库的动态绑定。,
(Dynamic bindings to the CUDA library for the D Programming Language.,)

文件列表:
dub.json (467, 2019-02-22)
source/ (0, 2019-02-22)
source/derelict/ (0, 2019-02-22)
source/derelict/cuda/ (0, 2019-02-22)
source/derelict/cuda/driverapi.d (123554, 2019-02-22)
source/derelict/cuda/package.d (1445, 2019-02-22)
source/derelict/cuda/runtimeapi.d (123277, 2019-02-22)

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][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. ```D 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/cuda_home_new.html [2]: http://derelictorg.github.io/compiling.html [3]: http://derelictorg.github.io/using.html

近期下载者

相关文件


收藏者