numba-cuda-0.9.0


توضیحات

CUDA target for Numba
ویژگی مقدار
سیستم عامل -
نام فایل numba-cuda-0.9.0
نام numba-cuda
نسخه کتابخانه 0.9.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Anaconda Inc., NVIDIA Corporation
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/numba-cuda/
مجوز -
<div align="center"><img src="docs/source/_static/numba-green-icon-rgb.svg" width="200"/></div> # Numba CUDA Target The CUDA target for Numba. Please visit the [official documentation](https://nvidia.github.io/numba-cuda) to get started! To report issues or file feature requests, please use the [issue tracker](https://github.com/NVIDIA/numba-cuda/issues). To raise questions or initiate discussions, please use the [Numba Discourse forum](https://numba.discourse.group). ## Installation with pip or conda Please refer to the [Installation documentation](https://nvidia.github.io/numba-cuda/user/installation.html#installation-with-a-python-package-manager). ## Installation from source Install as an editable install: ``` pip install -e . ``` If you want to manage all run-time dependencies yourself, also pass the `--no-deps` flag. ## Running tests Tests must be run from the `testing` folder, which contains the pytest configuration and code to generate binaries used during the tests. The test binaries need to be built on the system on which the tests are run, so that they are compiled for the appropriate compute capability. ``` cd testing # Optionally, build test binaries and point to their location for the test suite make -j $(nproc) export NUMBA_CUDA_TEST_BIN_DIR=`pwd` # Execute tests pytest -n auto -v --dist loadscope ``` Alternatively, you can use [pixi](https://pixi.sh/latest/installation/) to wrap all of that up for you: ``` # run tests against CUDA 13 pixi run -e cu13 test -n auto -v --dist loadscope ``` Testing should discover the `numba.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 ``` ## Contributing Guide Review the [CONTRIBUTING.md](https://github.com/NVIDIA/numba-cuda/blob/main/CONTRIBUTING.md) file for information on how to contribute code and issues to the project.


نیازمندی

مقدار نام
- numba>=0.60.0
- cuda-bindings<14.0.0,>=12.9.1
- cuda-core<1.0.0,>=0.5.1
- cuda-pathfinder<2.0.0,>=1.4.0
- packaging
xtr cuda-bindings<13.0.0,>=12.9.1;
xtr cuda-toolkit[cccl,cudart,nvcc,nvrtc]==12.*;
xtr nvidia-nvjitlink-cu12<13.0.0,>=12.3.0;
xtr cuda-bindings==13.*;
xtr cuda-toolkit[cccl,cudart,nvrtc,nvvm]==13.*;
xtr nvidia-nvjitlink<14.0.0,>=13.0.0;


زبان مورد نیاز

مقدار نام
>=3.9 Python


نحوه نصب


نصب پکیج whl numba-cuda-0.9.0:

    pip install numba-cuda-0.9.0.whl


نصب پکیج tar.gz numba-cuda-0.9.0:

    pip install numba-cuda-0.9.0.tar.gz