Skip to content

Commit c0e4ac3

Browse files
committed
Some NVVM versions don't emit a line break after a call.uni
1 parent 42c3da4 commit c0e4ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numba_cuda/numba/cuda/tests/nrt/test_nrt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ def g():
128128
match = re.search(p1, ptx)
129129
assert match is not None
130130

131-
p2 = r"call\.uni.*\n.*NRT_incref"
131+
p2 = r"call\.uni.*\n?.*NRT_incref"
132132
match = re.search(p2, ptx)
133133
assert match is not None
134134

135-
p3 = r"call\.uni.*\n.*NRT_decref"
135+
p3 = r"call\.uni.*\n?.*NRT_decref"
136136
match = re.search(p3, ptx)
137137
assert match is not None
138138

0 commit comments

Comments
 (0)