/numba_cuda

Numba CUDA external target

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Numba CUDA Target

An experiment in moving the CUDA target out-of-tree.

This contains an entire copy of Numba's CUDA target (the numba.cuda module), and a mechanism to ensure the code from this module (numba_cuda.numba.cuda) is used as the numba.cuda module instead of the code from the numba package.

Building / testing

Install as an editable install:

pip install -e .

The _extras library needs copying to the source tree for an editable install:

cp build/cp*/_extras.cpython-*.so numba_cuda/numba/cuda/cudadrv/

Run the test:

python test.py

The output should finish with something like:

Ran 1478 tests in 167.376s

OK (skipped=20, expected failures=11)

A small blue snake in the shadow of a large blue snake