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
2 changes: 2 additions & 0 deletions cuda_core/tests/example_tests/test_basic_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import pytest

from cuda.core import Device, ManagedMemoryResource, system
from cuda.core._program import _can_load_generated_ptx

try:
from cuda.bindings._test_helpers.pep723 import has_package_requirements_or_skip
Expand Down Expand Up @@ -82,6 +83,7 @@ def has_recent_memory_pool_support() -> bool:
SYSTEM_REQUIREMENTS = {
"memory_pool_resources.py": has_recent_memory_pool_support,
"gl_interop_plasma.py": has_display,
"jit_lto_fractal.py": _can_load_generated_ptx,
"pytorch_example.py": lambda: (
has_compute_capability_9_or_higher() and is_x86_64()
), # PyTorch only provides CUDA support for x86_64
Expand Down