CUDA target for Numba
Project description
Numba CUDA Target
An out-of-tree CUDA target for Numba.
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.
This is presently in an early state and is published for testing and feedback.
Building / testing
Install as an editable install:
pip install -e .
Running tests:
python -m numba.runtests numba.cuda.tests
This should discover thenumba.cuda
module from the numba_cuda
package. You
can check where numba.cuda
files are being located by running
python -c "from numba import cuda; print(cuda.__file__)"
which will show a path like:
<path to numba-cuda repo>/numba_cuda/numba/cuda/__init__.py
Branching strategy
Presently the main
branch is being used to target the exact behavior of the
built-in CUDA target. New feature development and bug fixes should be applied to
develop
. Once the main
branch is widely tested and confirmed to work well as
a drop-in replacement for the built-in numba.cuda
, the develop
branch will
be merged in and new feature development will proceed on main
.
Current PR targets
- PRs related to replacing the built-in CUDA target's features should target
main
. - PRs adding new features and bug fixes should target
develop
.
Future PR targets
- In future, all PRs should target the
main
branch.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file numba_cuda-0.0.15.tar.gz
.
File metadata
- Download URL: numba_cuda-0.0.15.tar.gz
- Upload date:
- Size: 341.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d3919d006421510004c89ac2de03222da95e4fc59cfc7c3c736891e38ea307 |
|
MD5 | 3cee8d950977b7a3de2715fcd64baeb1 |
|
BLAKE2b-256 | 4707395f306bb2d835780526033086d5c41f40330d9899f4e10a6b184405d352 |
File details
Details for the file numba_cuda-0.0.15-py3-none-any.whl
.
File metadata
- Download URL: numba_cuda-0.0.15-py3-none-any.whl
- Upload date:
- Size: 424.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 390cf28505b7631a59d75e38699603abe791ad3f280ef64775a4f762964c9aeb |
|
MD5 | 0d56ae969de9be048ddbdb8f6afa54a4 |
|
BLAKE2b-256 | 1a5b39d463d187bca82c027edb84c09f06e18848107da5218ba1ae99760ebca1 |