Skip to content

Commit 2ab5d3d

Browse files
authored
Merge pull request #211 from vzhurba01/module-test-filter
Filter out module test from cuda-python 11.x versions
2 parents 213baf4 + 7bc3604 commit 2ab5d3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cuda_core/tests/test_module.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
from cuda.core.experimental._module import Kernel, ObjectCode
1212
from cuda.core.experimental._utils import handle_return
1313
import pytest
14+
import importlib
1415

16+
@pytest.mark.skipif(int(importlib.metadata.version("cuda-python").split(".")[0]) < 12, reason='Module loading for older drivers validate require valid module code.')
1517
def test_object_code_initialization():
1618
# Test with supported code types
1719
for code_type in ["cubin", "ptx", "fatbin"]:

0 commit comments

Comments
 (0)