Skip to content
Merged
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
3 changes: 0 additions & 3 deletions cuda_bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ In addition, extra examples are included:
launch a kernel on the device. Includes device memory allocation /
deallocation, transfers between host and device, creation and usage of
streams, and context management.
* `examples/extra/numba_emm_plugin.py`: Implements a Numba External Memory Management
plugin, showing that this CUDA Python Driver API can coexist with other
wrappers of the driver API.

To run these samples:
* `python -m pytest tests/cython/` against editable installations
Expand Down
3 changes: 0 additions & 3 deletions cuda_bindings/docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,3 @@ Advanced and interoperability
- `jit_program.py <https://github.com/NVIDIA/cuda-python/blob/|cuda_bindings_github_ref|/cuda_bindings/examples/extra/jit_program.py>`_
JIT-compiles a SAXPY kernel with NVRTC and launches it through the Driver
API.
- `numba_emm_plugin.py <https://github.com/NVIDIA/cuda-python/blob/|cuda_bindings_github_ref|/cuda_bindings/examples/extra/numba_emm_plugin.py>`_
shows how to back Numba's EMM interface with the NVIDIA CUDA Python Driver
API.
165 changes: 0 additions & 165 deletions cuda_bindings/examples/extra/numba_emm_plugin.py

This file was deleted.

6 changes: 0 additions & 6 deletions cuda_bindings/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@
examples_files = glob.glob(os.path.join(examples_path, "**/*.py"), recursive=True)


BROKEN_EXAMPLES = {"numba_emm_plugin.py"}


@pytest.mark.parametrize("example", examples_files)
def test_example(example):
if os.path.basename(example) in BROKEN_EXAMPLES:
pytest.skip(f"Skipping broken example: {example}")

has_package_requirements_or_skip(example)

env = os.environ.copy()
Expand Down
Loading