Skip to content
/ cuda Public
forked from sirin-tech/cuda

NVIDIA GPU CUDA library bindings for Erlang and Elixir.

Notifications You must be signed in to change notification settings

dezmathio/cuda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuda

NVIDIA GPU CUDA library bindings for Erlang and Elixir.

Installation

def deps do
  [{:cuda, "~> 0.1.0"}]
end

Prerequisite

At least one of video cards should be not in exclusive or prohibited compute mode. To check your video card mode run:

nvidia-smi --format=csv --query-gpu="compute_mode"

To change comute mode to default run:

sudo nvidia-smi -c 0

Debugging

To have some debug messages from C++ cuda binding, compile library with GPU_DEBUG=1 environment variable like this:

mix clean
GPU_DEBUG=1 mix compile

About

NVIDIA GPU CUDA library bindings for Erlang and Elixir.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 79.8%
  • C++ 19.2%
  • Other 1.0%