File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2828from cuda .core .experimental ._utils .cuda_utils import handle_return
2929from cuda .core .experimental .utils import StridedMemoryView
3030
31- from cuda_python_test_helpers import supports_ipc_mempool
31+ from cuda_python_test_helpers import IS_WSL , supports_ipc_mempool
3232
3333POOL_SIZE = 2097152 # 2MB size
3434
@@ -324,6 +324,9 @@ def test_vmm_allocator_basic_allocation():
324324 """
325325 if platform .system () == "Windows" :
326326 pytest .skip ("VirtualMemoryResource is not supported on Windows TCC" )
327+ if IS_WSL :
328+ pytest .skip ("VirtualMemoryResource is not supported on WSL" )
329+
327330 device = Device ()
328331 device .set_current ()
329332 options = VirtualMemoryResourceOptions ()
@@ -360,6 +363,8 @@ def test_vmm_allocator_policy_configuration():
360363 """
361364 if platform .system () == "Windows" :
362365 pytest .skip ("VirtualMemoryResource is not supported on Windows TCC" )
366+ if IS_WSL :
367+ pytest .skip ("VirtualMemoryResource is not supported on WSL" )
363368 device = Device ()
364369 device .set_current ()
365370
@@ -417,6 +422,8 @@ def test_vmm_allocator_grow_allocation():
417422 """
418423 if platform .system () == "Windows" :
419424 pytest .skip ("VirtualMemoryResource is not supported on Windows TCC" )
425+ if IS_WSL :
426+ pytest .skip ("VirtualMemoryResource is not supported on WSL" )
420427 device = Device ()
421428 device .set_current ()
422429
You can’t perform that action at this time.
0 commit comments