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
9 changes: 8 additions & 1 deletion cuda_core/tests/test_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from cuda.core.experimental._utils.cuda_utils import handle_return
from cuda.core.experimental.utils import StridedMemoryView

from cuda_python_test_helpers import supports_ipc_mempool
from cuda_python_test_helpers import IS_WSL, supports_ipc_mempool

POOL_SIZE = 2097152 # 2MB size

Expand Down Expand Up @@ -324,6 +324,9 @@ def test_vmm_allocator_basic_allocation():
"""
if platform.system() == "Windows":
pytest.skip("VirtualMemoryResource is not supported on Windows TCC")
if IS_WSL:
pytest.skip("VirtualMemoryResource is not supported on WSL")

device = Device()
device.set_current()
options = VirtualMemoryResourceOptions()
Expand Down Expand Up @@ -360,6 +363,8 @@ def test_vmm_allocator_policy_configuration():
"""
if platform.system() == "Windows":
pytest.skip("VirtualMemoryResource is not supported on Windows TCC")
if IS_WSL:
pytest.skip("VirtualMemoryResource is not supported on WSL")
device = Device()
device.set_current()

Expand Down Expand Up @@ -417,6 +422,8 @@ def test_vmm_allocator_grow_allocation():
"""
if platform.system() == "Windows":
pytest.skip("VirtualMemoryResource is not supported on Windows TCC")
if IS_WSL:
pytest.skip("VirtualMemoryResource is not supported on WSL")
device = Device()
device.set_current()

Expand Down
Loading