File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def test_linker_link_invalid_target_type(compile_ptx_functions):
148
148
# this test causes an API error when using the culink API
149
149
@skipif_testing_with_compute_sanitizer
150
150
def test_linker_get_error_log (compile_ptx_functions ):
151
- options = LinkerOptions (arch = ARCH )
151
+ options = LinkerOptions (name = "ABC" , arch = ARCH )
152
152
153
153
replacement_kernel = """
154
154
extern __device__ int Z();
@@ -165,7 +165,7 @@ def test_linker_get_error_log(compile_ptx_functions):
165
165
assert isinstance (log , str )
166
166
# TODO when 4902246 is addressed, we can update this to cover nvjitlink as well
167
167
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 '"
169
169
170
170
171
171
def test_linker_get_info_log (compile_ptx_functions ):
You can’t perform that action at this time.
0 commit comments