Skip to content

Commit be63566

Browse files
committed
update cuLink default name
1 parent f72b1c0 commit be63566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cuda_core/tests/test_linker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def test_linker_link_invalid_target_type(compile_ptx_functions):
148148
# this test causes an API error when using the culink API
149149
@skipif_testing_with_compute_sanitizer
150150
def test_linker_get_error_log(compile_ptx_functions):
151-
options = LinkerOptions(arch=ARCH)
151+
options = LinkerOptions(name="ABC", arch=ARCH)
152152

153153
replacement_kernel = """
154154
extern __device__ int Z();
@@ -165,7 +165,7 @@ def test_linker_get_error_log(compile_ptx_functions):
165165
assert isinstance(log, str)
166166
# TODO when 4902246 is addressed, we can update this to cover nvjitlink as well
167167
if is_culink_backend:
168-
assert log.rstrip("\x00") == "error : Undefined reference to '_Z1Zv' in 'None_ptx'"
168+
assert log.rstrip("\x00") == "error : Undefined reference to '_Z1Zv' in 'ABC'"
169169

170170

171171
def test_linker_get_info_log(compile_ptx_functions):

0 commit comments

Comments
 (0)