Currently under active development; see the documentation for more details.
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.
To run these tests:
python -m pytest tests/with editable installationspytest tests/with installed packages
Alternatively, from the repository root you can use a simple script:
./scripts/run_tests.sh coreto run onlycuda_coretests./scripts/run_tests.shto run all package tests (pathfinder → bindings → core)./scripts/run_tests.sh smoketo run meta-level smoke tests undertests/integration
Cython tests are located in tests/cython and need to be built. These builds have the same CUDA Toolkit header requirements as those of cuda.bindings where the major.minor version must match cuda.bindings. To build them:
- Set up environment variable
CUDA_HOMEwith the path to the CUDA Toolkit installation. - Run
build_testsscript located intests/cythonappropriate to your platform. This will both cythonize the tests and build them.
To run these tests:
python -m pytest tests/cython/with editable installationspytest tests/cython/with installed packages