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
2 changes: 1 addition & 1 deletion numba_cuda/numba/cuda/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def nonconst_module_attrs(self):

@cached_property
def nrt(self):
from numba.core.runtime.context import NRTContext
from numba.cuda.memory_management.nrt_context import NRTContext

return NRTContext(self, self.enable_nrt)

Expand Down
5 changes: 3 additions & 2 deletions numba_cuda/numba/cuda/memory_management/nrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
import os
from functools import wraps
import numpy as np

from collections import namedtuple

from numba import cuda, types
from numba.cuda import config

from numba.core.runtime.nrt import _nrt_mstats
from numba.cuda.cudadrv.driver import (
_Linker,
driver,
Expand All @@ -26,6 +25,8 @@

from numba.core.extending import intrinsic, overload_classmethod

_nrt_mstats = namedtuple("nrt_mstats", ["alloc", "free", "mi_alloc", "mi_free"])


def get_include():
"""Return the include path for the NRT header"""
Expand Down
Loading