Skip to content

prasunanand/cuda_d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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