Skip to content

Commit f77e0c8

Browse files
authored
Fix #1840: Remove numba_emm_plugin.py example (#1996)
1 parent 8b55a6c commit f77e0c8

4 files changed

Lines changed: 0 additions & 177 deletions

File tree

cuda_bindings/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ In addition, extra examples are included:
5858
launch a kernel on the device. Includes device memory allocation /
5959
deallocation, transfers between host and device, creation and usage of
6060
streams, and context management.
61-
* `examples/extra/numba_emm_plugin.py`: Implements a Numba External Memory Management
62-
plugin, showing that this CUDA Python Driver API can coexist with other
63-
wrappers of the driver API.
6461

6562
To run these samples:
6663
* `python -m pytest tests/cython/` against editable installations

cuda_bindings/docs/source/examples.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,3 @@ Advanced and interoperability
6363
- `jit_program.py <https://github.com/NVIDIA/cuda-python/blob/|cuda_bindings_github_ref|/cuda_bindings/examples/extra/jit_program.py>`_
6464
JIT-compiles a SAXPY kernel with NVRTC and launches it through the Driver
6565
API.
66-
- `numba_emm_plugin.py <https://github.com/NVIDIA/cuda-python/blob/|cuda_bindings_github_ref|/cuda_bindings/examples/extra/numba_emm_plugin.py>`_
67-
shows how to back Numba's EMM interface with the NVIDIA CUDA Python Driver
68-
API.

cuda_bindings/examples/extra/numba_emm_plugin.py

Lines changed: 0 additions & 165 deletions
This file was deleted.

cuda_bindings/tests/test_examples.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@
1414
examples_files = glob.glob(os.path.join(examples_path, "**/*.py"), recursive=True)
1515

1616

17-
BROKEN_EXAMPLES = {"numba_emm_plugin.py"}
18-
19-
2017
@pytest.mark.parametrize("example", examples_files)
2118
def test_example(example):
22-
if os.path.basename(example) in BROKEN_EXAMPLES:
23-
pytest.skip(f"Skipping broken example: {example}")
24-
2519
has_package_requirements_or_skip(example)
2620

2721
env = os.environ.copy()

0 commit comments

Comments
 (0)