Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ 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.

```
```bash
cd testing
# Optionally, build test binaries and point to their location for the test suite
make -j $(nproc)
Expand All @@ -43,9 +43,22 @@ export NUMBA_CUDA_TEST_BIN_DIR=`pwd`
pytest -n auto -v --dist loadscope
```

Alternatively, you can use [pixi](https://pixi.sh/latest/installation/) to wrap all of that up for you:
On Windows, use the batch helper in the `testing` folder to build the test
binaries, then set `NUMBA_CUDA_TEST_BIN_DIR` to that folder before running
pytest:

```powershell
cd testing
# Optionally, build test binaries and point to their location for the test suite
.\build.bat
$env:NUMBA_CUDA_TEST_BIN_DIR = (Get-Location).Path
# 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:

```bash
# run tests against CUDA 13
pixi run -e cu13 test -n auto -v --dist loadscope
```
Expand Down