Skip to content

Commit

Permalink
return list when nrt is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
isVoid committed Nov 26, 2024
1 parent 8ec02f2 commit 2e0225f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba_cuda/numba/cuda/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(self, py_func, argtypes, link=None, debug=False,

def maybe_link_nrt(self, link, tgt_ctx, asm):
if not tgt_ctx.enable_nrt:
return
return link

all_nrt = "|".join(self.NRT_functions)
pattern = (
Expand Down

0 comments on commit 2e0225f

Please sign in to comment.