From 1c88ea518fd2aee491cfb481fb0b2346f4ed4626 Mon Sep 17 00:00:00 2001 From: Andy Jost Date: Mon, 16 Nov 2026 13:14:40 -0800 Subject: [PATCH] test(cuda.core): skip the VMM RDMA policy test on WSL GPUDirect RDMA is not supported on WSL, but some drivers report the capability there, and the RDMA-enabled VMM allocation in test_vmm_allocator_policy_configuration then fails. Skip the test on WSL; the capability checks stay as they are. Co-Authored-By: Claude Opus 5.5 --- cuda_core/tests/test_memory.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cuda_core/tests/test_memory.py b/cuda_core/tests/test_memory.py index 5d4aab75e42..ac1099244ab 100644 --- a/cuda_core/tests/test_memory.py +++ b/cuda_core/tests/test_memory.py @@ -81,7 +81,7 @@ VirtualMemoryLocationType, ) from cuda.core.utils import StridedMemoryView -from cuda_python_test_helpers import IS_WINDOWS +from cuda_python_test_helpers import IS_WINDOWS, IS_WSL CHILD_TIMEOUT_SEC = child_timeout_sec() @@ -1464,6 +1464,9 @@ def test_vmm_allocator_basic_allocation(init_cuda, use_device_object, handle_typ @pytest.mark.agent_authored(model="claude-fable-5-1") +@pytest.mark.skipif( + IS_WSL, reason="GPUDirect RDMA is not supported on WSL, but some drivers report the capability there" +) def test_vmm_allocator_policy_configuration(init_cuda): """Test VMM allocator with different policy configurations.