Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion .spdx-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ LICENSE*
.gitattributes
.gitignore
requirements*.txt
cuda_bindings/examples/*

# Samples are synced to NVIDIA/cuda-samples on release and carry either the
# upstream verbose BSD-style copyright header or an SPDX identifier.
samples/**/*.py

# Vendored
cuda_core/cuda/core/_include/dlpack.h
Expand Down
6 changes: 6 additions & 0 deletions ci/tools/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ elif [[ "${test_module}" == "core" || "${test_module}" == nightly-* ]]; then
# Constrain cuda-toolkit to the requested CTK version to avoid
# pip pulling in a newer nvidia-cuda-runtime that conflicts with it.
pip install "${CORE_WHL[@]}" --group "test-cu${TEST_CUDA_MAJOR}${FREE_THREADING}" "cuda-toolkit==${TEST_CUDA_MAJOR_MINOR}.*"
# Optional deps needed by some samples exercised in the core suite
# (tests/example_tests/test_samples.py). cupy already comes from the
# test-cuXX group; install the rest best-effort so those samples run
# instead of being waived. Samples with heavier/unavailable deps stay waived.
echo "Installing optional sample deps (nvtx, pillow)"
pip install nvtx pillow || echo "Warning: optional sample deps install failed; affected samples will be waived"
echo "Installed packages before core tests:"
pip list
echo "Running core tests"
Expand Down
5 changes: 5 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def pytest_collection_modifyitems(config, items): # noqa: ARG001
if nodeid.startswith("tests/integration/") or "/tests/integration/" in nodeid:
item.add_marker(pytest.mark.smoke)

# Sample tests run within the cuda_core suite (orchestrator + wrapper live
# under cuda_core/tests/example_tests/; sample sources under ./samples/).
if "example_tests/test_samples.py" in nodeid:
item.add_marker(pytest.mark.samples)

# Cython tests (any tests/cython subtree)
if (
"/tests/cython/" in nodeid
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/DESCRIPTION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cuda-bindings: Low-level CUDA interfaces

* `Repository <https://github.com/NVIDIA/cuda-python/tree/main/cuda_bindings>`_
* `Documentation <https://nvidia.github.io/cuda-python/cuda-bindings/>`_
* `Examples <https://github.com/NVIDIA/cuda-python/tree/main/cuda_bindings/examples>`_
* `Examples <https://github.com/NVIDIA/cuda-python/tree/main/samples>`_
* `Issue tracker <https://github.com/NVIDIA/cuda-python/issues/>`_

For the installation instruction, please refer to the `Installation <https://nvidia.github.io/cuda-python/cuda-bindings/latest/install.html>`_ page.
649 changes: 649 additions & 0 deletions cuda_bindings/cuda/bindings/_bindings/cyruntime.pxd

Large diffs are not rendered by default.

1,956 changes: 1,956 additions & 0 deletions cuda_bindings/cuda/bindings/_bindings/cyruntime.pyx

Large diffs are not rendered by default.

652 changes: 652 additions & 0 deletions cuda_bindings/cuda/bindings/_bindings/cyruntime_ptds.pxd

Large diffs are not rendered by default.

975 changes: 975 additions & 0 deletions cuda_bindings/cuda/bindings/_bindings/cyruntime_ptds.pyx

Large diffs are not rendered by default.

17 changes: 0 additions & 17 deletions cuda_bindings/cuda/bindings/_example_helpers/__init__.py

This file was deleted.

96 changes: 0 additions & 96 deletions cuda_bindings/cuda/bindings/_example_helpers/common.py

This file was deleted.

48 changes: 0 additions & 48 deletions cuda_bindings/cuda/bindings/_example_helpers/helper_cuda.py

This file was deleted.

15 changes: 0 additions & 15 deletions cuda_bindings/cuda/bindings/_example_helpers/helper_string.py

This file was deleted.

Loading