Skip to content

Commit

Permalink
Address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Diptorup Deb committed Dec 7, 2023
1 parent fc06d52 commit 9ffb10e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions numba_dpex/experimental/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from .types import KernelDispatcherType


class LiteralIntEnumModel(PrimitiveModel):
class IntEnumLiteralModel(PrimitiveModel):
"""Representation of an object of LiteralIntEnum type using Numba's
PrimitiveModel that can be represented natively in the target in all
usage contexts.
Expand All @@ -42,7 +42,7 @@ def _init_exp_data_model_manager() -> DataModelManager:
dmm = dpex_core_models.dpex_data_model_manager.copy()

# Register the types and data model in the DpexExpTargetContext
dmm.register(IntEnumLiteral, LiteralIntEnumModel)
dmm.register(IntEnumLiteral, IntEnumLiteralModel)

return dmm

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
# SPDX-License-Identifier: Apache-2.0

import dpnp
from numba.core import types
from numba.extending import intrinsic, overload

import numba_dpex.experimental as exp_dpex
from numba_dpex import Range, dpjit
from numba_dpex import Range
from numba_dpex.experimental.flag_enum import FlagEnum


Expand Down

0 comments on commit 9ffb10e

Please sign in to comment.