From 01a31bbbe4d6c7470d30398c732ee2866a20fdb5 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Wed, 25 Nov 2026 13:07:55 -0500 Subject: [PATCH] test(cuda.core): fix the compute-capability check that skips options31 test_cpp_program_with_various_options[options31] compiles with device_float128 for sm_100 and is meant to skip below compute capability 10.0. It compared Device().compute_capability, a (major, minor) tuple, with (100, 0), so it skipped on every GPU, including Blackwell. Compare with (10, 0), and remove its "not currently run in any CI job" marker. Closes #3563 Co-Authored-By: Claude Opus 5.5 --- cuda_core/tests/test_program.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cuda_core/tests/test_program.py b/cuda_core/tests/test_program.py index 108584173122..18c2151b66db 100644 --- a/cuda_core/tests/test_program.py +++ b/cuda_core/tests/test_program.py @@ -174,8 +174,6 @@ def ptx_code_object(): return ptx_object_code -# For the options31 parameter case: -# This test is not currently run in any CI job @pytest.mark.parametrize( "options", [ @@ -221,7 +219,7 @@ def ptx_code_object(): pytest.param( ProgramOptions(arch="sm_100", device_float128=True), marks=pytest.mark.skipif( - Device().compute_capability < (100, 0), + Device().compute_capability < (10, 0), reason="device_float128 requires sm_100 or later", ), ),