Skip to content

Commit b5819be

Browse files
committed
vendor in errors
1 parent 38e5bc3 commit b5819be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+66
-61
lines changed

numba_cuda/numba/cuda/_internal/cuda_fp16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from numba.cuda import types
2222
from numba.cuda.cudadrv.driver import _have_nvjitlink
2323
from numba.cuda.datamodel import PrimitiveModel, StructModel
24-
from numba.core.errors import NumbaPerformanceWarning
24+
from numba.cuda.core.errors import NumbaPerformanceWarning
2525
from numba.cuda.extending import (
2626
lower_cast,
2727
make_attribute_wrapper,

numba_cuda/numba/cuda/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from numba.cuda import types
1212
from numba.cuda.core.options import ParallelOptions
1313
from numba.core.compiler_lock import global_compiler_lock
14-
from numba.core.errors import NumbaWarning, NumbaInvalidConfigWarning
14+
from numba.cuda.core.errors import NumbaWarning, NumbaInvalidConfigWarning
1515
from numba.cuda.core.interpreter import Interpreter
1616

1717
from numba.cuda import cgutils, typing, lowering, nvvmutils, utils

numba_cuda/numba/cuda/core/boxing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from numba.cuda import types, cgutils
1111
from numba.cuda.core.pythonapi import box, unbox, reflect, NativeValue
12-
from numba.core.errors import NumbaNotImplementedError, TypingError
12+
from numba.cuda.core.errors import NumbaNotImplementedError, TypingError
1313
from numba.cuda.typing.typeof import typeof, Purpose
1414

1515
from numba.cuda.cpython import setobj, listobj

numba_cuda/numba/cuda/core/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from numba.cuda.core.tracing import event
55

66
from numba.core import errors
7-
from numba.core.errors import CompilerError
7+
from numba.cuda.core.errors import CompilerError
88

99
from numba.cuda.core import callconv, config, bytecode
1010
from numba.cuda.core.untyped_passes import ExtractByteCode, FixupArgs

numba_cuda/numba/cuda/core/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import weakref
66

7-
from numba.core.errors import ConstantInferenceError, NumbaError
7+
from numba.cuda.core.errors import ConstantInferenceError, NumbaError
88
from numba.cuda.core import ir
99

1010

numba_cuda/numba/cuda/core/controlflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77

88
from numba.core.ir import Loc
9-
from numba.core.errors import UnsupportedError
9+
from numba.cuda.core.errors import UnsupportedError
1010
from numba.cuda.utils import PYVERSION
1111

1212
# List of bytecodes creating a new block in the control flow graph

numba_cuda/numba/cuda/core/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def __exit__(self, exc_type, exc_value, traceback):
558558
self.flush()
559559

560560

561-
class NumbaError(Exception):
561+
class NumbaError(numba.core.errors.NumbaError):
562562
def __init__(self, msg, loc=None, highlighting=True):
563563
self.msg = msg
564564
self.loc = loc

numba_cuda/numba/cuda/core/interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from numba.core import errors
1212
from numba.cuda.core import config, ir
1313
from numba.cuda.errors import UnsupportedBytecodeError
14-
from numba.core.errors import (
14+
from numba.cuda.core.errors import (
1515
NotDefinedError,
1616
error_extras,
1717
)

numba_cuda/numba/cuda/core/ir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from numba.core import errors
1919
from numba.cuda.core import config
2020
from numba.cuda.utils import UNARY_BUILTINS_TO_OPERATORS, OPERATORS_TO_BUILTINS
21-
from numba.core.errors import (
21+
from numba.cuda.core.errors import (
2222
NotDefinedError,
2323
RedefinedError,
2424
VerificationError,

numba_cuda/numba/cuda/core/ir_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
compute_use_defs,
2121
compute_cfg_from_blocks,
2222
)
23-
from numba.core.errors import (
23+
from numba.cuda.core.errors import (
2424
TypingError,
2525
UnsupportedError,
2626
NumbaPendingDeprecationWarning,

0 commit comments

Comments
 (0)