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 1717from .types import KernelDispatcherType
1818
1919
20- class LiteralIntEnumModel (PrimitiveModel ):
20+ class IntEnumLiteralModel (PrimitiveModel ):
2121 """Representation of an object of LiteralIntEnum type using Numba's
2222 PrimitiveModel that can be represented natively in the target in all
2323 usage contexts.
@@ -42,7 +42,7 @@ def _init_exp_data_model_manager() -> DataModelManager:
4242 dmm = dpex_core_models .dpex_data_model_manager .copy ()
4343
4444 # Register the types and data model in the DpexExpTargetContext
45- dmm .register (IntEnumLiteral , LiteralIntEnumModel )
45+ dmm .register (IntEnumLiteral , IntEnumLiteralModel )
4646
4747 return dmm
4848
Original file line number Diff line number Diff line change 33# SPDX-License-Identifier: Apache-2.0
44
55import dpnp
6- from numba .core import types
7- from numba .extending import intrinsic , overload
86
97import numba_dpex .experimental as exp_dpex
10- from numba_dpex import Range , dpjit
8+ from numba_dpex import Range
119from numba_dpex .experimental .flag_enum import FlagEnum
1210
1311
You can’t perform that action at this time.
0 commit comments