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 28
28
from cuda .core .experimental ._utils .cuda_utils import handle_return
29
29
from cuda .core .experimental .utils import StridedMemoryView
30
30
31
- from cuda_python_test_helpers import supports_ipc_mempool
31
+ from cuda_python_test_helpers import IS_WSL , supports_ipc_mempool
32
32
33
33
POOL_SIZE = 2097152 # 2MB size
34
34
@@ -324,6 +324,9 @@ def test_vmm_allocator_basic_allocation():
324
324
"""
325
325
if platform .system () == "Windows" :
326
326
pytest .skip ("VirtualMemoryResource is not supported on Windows TCC" )
327
+ if IS_WSL :
328
+ pytest .skip ("VirtualMemoryResource is not supported on WSL" )
329
+
327
330
device = Device ()
328
331
device .set_current ()
329
332
options = VirtualMemoryResourceOptions ()
@@ -360,6 +363,8 @@ def test_vmm_allocator_policy_configuration():
360
363
"""
361
364
if platform .system () == "Windows" :
362
365
pytest .skip ("VirtualMemoryResource is not supported on Windows TCC" )
366
+ if IS_WSL :
367
+ pytest .skip ("VirtualMemoryResource is not supported on WSL" )
363
368
device = Device ()
364
369
device .set_current ()
365
370
@@ -417,6 +422,8 @@ def test_vmm_allocator_grow_allocation():
417
422
"""
418
423
if platform .system () == "Windows" :
419
424
pytest .skip ("VirtualMemoryResource is not supported on Windows TCC" )
425
+ if IS_WSL :
426
+ pytest .skip ("VirtualMemoryResource is not supported on WSL" )
420
427
device = Device ()
421
428
device .set_current ()
422
429
You can’t perform that action at this time.
0 commit comments