Skip to content

Commit

Permalink
[Intel] Fix test_divide
Browse files Browse the repository at this point in the history
Signed-off-by: Whitney Tsang <[email protected]>
  • Loading branch information
whitneywhtsang committed Dec 29, 2024
1 parent ab0745a commit 6919b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/test/regression/test_divide.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def patch_kernel(template, to_replace):
kernel = triton.JITFunction(template.fn)
for key, value in to_replace.items():
kernel.src = kernel.src.replace(key, value)
kernel._unsafe_update_src(kernel.src.replace(key, value))
return kernel


Expand Down

0 comments on commit 6919b06

Please sign in to comment.