File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
tests/experimental/IntEnumLiteral Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 17
17
from .types import KernelDispatcherType
18
18
19
19
20
- class LiteralIntEnumModel (PrimitiveModel ):
20
+ class IntEnumLiteralModel (PrimitiveModel ):
21
21
"""Representation of an object of LiteralIntEnum type using Numba's
22
22
PrimitiveModel that can be represented natively in the target in all
23
23
usage contexts.
@@ -42,7 +42,7 @@ def _init_exp_data_model_manager() -> DataModelManager:
42
42
dmm = dpex_core_models .dpex_data_model_manager .copy ()
43
43
44
44
# Register the types and data model in the DpexExpTargetContext
45
- dmm .register (IntEnumLiteral , LiteralIntEnumModel )
45
+ dmm .register (IntEnumLiteral , IntEnumLiteralModel )
46
46
47
47
return dmm
48
48
Original file line number Diff line number Diff line change 3
3
# SPDX-License-Identifier: Apache-2.0
4
4
5
5
import dpnp
6
- from numba .core import types
7
- from numba .extending import intrinsic , overload
8
6
9
7
import numba_dpex .experimental as exp_dpex
10
- from numba_dpex import Range , dpjit
8
+ from numba_dpex import Range
11
9
from numba_dpex .experimental .flag_enum import FlagEnum
12
10
13
11
You can’t perform that action at this time.
0 commit comments