From 2e0225ff31cc28683841b03c3c84fd34bd97e064 Mon Sep 17 00:00:00 2001 From: isVoid Date: Tue, 26 Nov 2024 09:57:50 -0800 Subject: [PATCH] return list when nrt is disabled --- numba_cuda/numba/cuda/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numba_cuda/numba/cuda/dispatcher.py b/numba_cuda/numba/cuda/dispatcher.py index 90406c4..23c117c 100644 --- a/numba_cuda/numba/cuda/dispatcher.py +++ b/numba_cuda/numba/cuda/dispatcher.py @@ -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 = (