| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
cuda.bindings is a standard set of low-level interfaces, providing full coverage of and access to the CUDA host APIs from Python. Checkout the Overview page for the workflow and performance results.
Please refer to the Installation page for instructions and required/optional dependencies.
This subpackage adheres to the developing practices described in the parent metapackage CONTRIBUTING.md.
Pass the pip / uv configuration option -C="debug=True" or --config-settings="debug=True" to explicitly to build debuggable binaries. Debuggable binaries are built by default for editable builds.
Debuggable builds are not supported on Windows.
Testing dependencies can be installed using the [test] optional dependency identifier. For example, pip install -v -e .[test].
Multiple testing options are available:
Responsible for validating different binding usage patterns. Unit test test_kernelParams.py is particularly special since it demonstrates various approaches in setting up kernel launch parameters.
To run these tests:
Cython tests are located in tests/cython and need to be built. These builds have the same CUDA Toolkit header requirements as Installing from Source where the major.minor version must match cuda.bindings. To build them:
To run these tests:
Various CUDA Samples that were rewritten using CUDA Python are located in examples.
In addition, extra examples are included:
To run these samples:
Allows for analyzing binding performance using plugin pytest-benchmark.
To run these benchmarks:
| Back | FazBrowse Home | New Git URL |