Skip to content

Commit aa83d4b

Browse files
committed
fix(cuda.core): serialize pinned-memory kernel-access test on Windows
closes #3426 Add @thread_unsafe_on_windows to the pinned-memory kernel-access test. The test accesses host memory while parallel workers may execute GPU work; synchronizing its own stream does not coordinate those workers. This follows the guard used by similar tests on Windows and WSL. Windows CI is needed to confirm it resolves the reported crashes. The separate OOM failures remain under investigation. Validation: Ruff and git diff --check pass.
1 parent a0a152b commit aa83d4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎cuda_core/tests/test_memory.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ def test_pinned_memory_resource_initialization(init_cuda):
12461246
buffer.close()
12471247

12481248

1249+
@thread_unsafe_on_windows
12491250
@pytest.mark.human_reviewed
12501251
@pytest.mark.parametrize("pool", ["current", "new", "new_numa"])
12511252
def test_pinned_memory_resource_kernel_access(init_cuda, pool):

0 commit comments

Comments
 (0)