Skip to content
Merged
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: 5 additions & 0 deletions cuda_core/tests/graph/test_graph_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,11 @@ def test_alloc_memory_type_host(init_cuda):
"""HOST graph alloc nodes reconstruct memory_type from the driver, not the Python argument."""
skip_if_mempool_unsupported()
from cuda.core._utils.cuda_utils import CUDAError
from cuda.core._utils.version import driver_version

# CUDA 12 rejects HOST pool properties before graph support is checked.
if driver_version() < (13, 0, 0):
pytest.skip("CUDA drivers before 13.0 reject HOST allocation properties")

g = GraphDefinition()
try:
Expand Down
Loading