D bindings for CUDA
CUDA® is a parallel computing platform and programming model invented by NVIDIA. It enables dramatic increases in computing performance by harnessing the power of the graphics processing unit (GPU). With millions of CUDA-enabled GPUs sold to date, software developers, scientists and researchers are using GPU-accelerated computing for broad-ranging applications.
cuda_d
helps you to use CUDA APIs in a D eco-system.
The current version provides bindings to:
- CUDA
- cuBLAS
- cuBLASXT
- cuRand
- CUDA profiler
-
Install
cuda
drivers. -
Add
cuda_d
todependencies
and specify thelibs
in dub file. e.g.
dub.json
:
{
"name": "cuda_d_example",
"dependencies": {
"cuda_d": "~>0.1.0"
},
"libs": [ "cuda", "cublas", "cudart" , "curand"],
"description": "CUDA Example"
}
The examples can be found here.
This software is distributed under the BSD 3-Clause License.
Copyright © 2017, Prasun Anand