We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b1fb02 commit cab3c7bCopy full SHA for cab3c7b
cuda_core/tests/test_program.py
@@ -697,7 +697,7 @@ def test_cpp_program_with_extra_sources():
697
# negative test with NVRTC with multiple sources
698
code = 'extern "C" __global__ void my_kernel(){}'
699
helper = 'extern "C" __global__ void helper(){}'
700
- options = ProgramOptions(extra_sources=helper)
+ options = ProgramOptions(extra_sources=[("helper", helper)])
701
with pytest.raises(ValueError, match="extra_sources is not supported by the NVRTC backend"):
702
Program(code, "c++", options)
703
0 commit comments