Skip to content

Commit

Permalink
Update import
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzEeKkAa committed Mar 8, 2024
1 parent 7f75500 commit c3e02d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba_dpex/dpctl_iface/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def numba_type_to_dpctl_typenum(context, ty):
"""

if dpctl_sem_version >= (0, 17, 0):
from dpctl.enum_types import kernel_arg_type as kargty
from dpctl._sycl_queue import kernel_arg_type as kargty

if ty == types.int32 or isinstance(ty, types.scalars.IntegerLiteral):
return context.get_constant(types.int32, kargty.dpctl_int32.value)
Expand Down

0 comments on commit c3e02d7

Please sign in to comment.