Skip to content

Commit 3e50d07

Browse files
Copilotleofang
andcommitted
Add skip decorator for mempool support check in device memory test
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
1 parent 6a2c4f4 commit 3e50d07

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
@@ -259,6 +259,7 @@ def test_buffer_dunder_dlpack_device_failure():
259259
buffer.__dlpack_device__()
260260

261261

262+
@pytest.mark.skipif(not Device().properties.memory_pools_supported, reason="memory pools not supported")
262263
def test_device_memory_resource_initialization():
263264
"""Test that DeviceMemoryResource can be initialized successfully.
264265

0 commit comments

Comments
 (0)