Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion numba_cuda/numba/cuda/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
PassManager,
register_pass,
)
from numba.core.interpreter import Interpreter
from numba.core.errors import NumbaInvalidConfigWarning
from numba.core.untyped_passes import TranslateByteCode
from numba.core.typed_passes import (
Expand All @@ -38,7 +37,12 @@
from numba.cuda.flags import CUDAFlags
from numba.cuda.target import CUDACABICallConv
from numba.cuda import lowering, utils
from numba.core.utils import PYVERSION

if PYVERSION < (3, 10):
from numba.core.interpreter import Interpreter
else:
from numba.cuda.core.interpreter import Interpreter

# The CUDACompileResult (CCR) has a specially-defined entry point equal to its
# id. This is because the entry point is used as a key into a dict of
Expand Down
Loading