Skip to content

Commit 2d004bc

Browse files
Test single and multiple values of ptxas_options in ProgramOptions
1 parent 55d5b00 commit 2d004bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cuda_core/tests/test_program.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ def ptx_code_object():
4343
ProgramOptions(diag_error=1234, diag_suppress=1234),
4444
ProgramOptions(diag_error=[1234, 1223], diag_suppress=(1234, 1223)),
4545
ProgramOptions(diag_warn=1000),
46+
ProgramOptions(std="c++11", ptxas_options=["-v"]),
47+
ProgramOptions(std="c++11", ptxas_options=["-v", "-O2"]),
4648
],
4749
)
4850
def test_cpp_program_with_various_options(init_cuda, options):

0 commit comments

Comments
 (0)