D bindings for CUDA
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source/cuda_d
.gitignore
LICENSE
README.md
dub.json

README.md

cuda_d

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:

  1. CUDA
  2. cuBLAS
  3. cuBLASXT
  4. cuRand
  5. CUDA profiler

Installation

  1. Install cuda drivers.

  2. Add cuda_d to dependencies and specify the libs 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"
}

Examples

The examples can be found here.

LICENSE

This software is distributed under the BSD 3-Clause License.

Copyright © 2017, Prasun Anand