CUDAdrv.jl
This package wraps the CUDA driver API. It is meant for users who need low-level access to the CUDA toolkit or the underlying GPU. For a wrapper of the higher-level runtime API, see CUDArt.
Installation
Requirements:
- Julia 0.5 or higher (use v0.1.0 of this package for compatibility with Julia 0.4)
- CUDA toolkit: tested up until v8.0, newer versions might work but can be incompatible
- CUDA hardware
Pkg.add("CUDA")
Pkg.test("CUDA")
Debugging
For extra information about what's happening behind the scenes, you can enable extra output
by defining the DEBUG
environment variable, or TRACE
for even more information.
Note that these features are incompatible with precompilation as the debugging code is
enabled statically in order to avoid any run-time overhead, so you need to wipe the compile
cache or run Julia using --compilecache=no
. Enabling colors with --color=yes
is also
recommended as it color-codes the output.