Skip to content

Commit 63a68de

Browse files
committed
I always forget that the dlpack support was buggy before NumPy 2.1.0...
1 parent f4852bd commit 63a68de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cuda_core/tests/test_launcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def test_launch_invalid_values(init_cuda):
104104

105105

106106
@pytest.mark.parametrize("python_type, cpp_type, init_value", PARAMS)
107+
@pytest.mark.skipif(tuple(int(i) for i in np.__version__.split(".")[:2]) < (2, 1), reason="need numpy 2.1.0+")
107108
def test_launch_scalar_argument(python_type, cpp_type, init_value):
108109
dev = Device()
109110
dev.set_current()

0 commit comments

Comments
 (0)