Skip to content

Commit

Permalink
Skip failing tests on compute capabilities earlier than 7.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jan 24, 2025
1 parent c824fdf commit e2257e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pynvjitlink/tests/test_pynvjitlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ def test_get_error_log(undefined_extern_cubin, gpu_arch_flag):
"in 'undefined_extern.cubin'" in error_log
)


@pytest.skipif(
gpu_compute_capability < (7, 5),
reason="CUDA 12.8 shows deprecations for devices older than sm75",
)
def test_get_info_log(device_functions_cubin, gpu_arch_flag):
handle = _nvjitlinklib.create(gpu_arch_flag)
filename, data = device_functions_cubin
Expand Down
4 changes: 4 additions & 0 deletions pynvjitlink/tests/test_pynvjitlink_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ def test_get_error_log(undefined_extern_cubin, gpu_arch_flag):
assert "Undefined reference to '_Z5undefff'" in error_log


@pytest.skipif(
gpu_compute_capability < (7, 5),
reason="CUDA 12.8 shows deprecations for devices older than sm75",
)
def test_get_info_log(device_functions_cubin, gpu_arch_flag):
nvjitlinker = NvJitLinker(gpu_arch_flag)
name, cubin = device_functions_cubin
Expand Down

0 comments on commit e2257e9

Please sign in to comment.