Skip to content

Commit 3575d0f

Browse files
author
Diptorup Deb
committed
Fix typo causing improper datamodel lookup.
1 parent 029b0c3 commit 3575d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numba_dpex/core/parfors/parfor_lowerer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _build_kernel_arglist(self, kernel_fn, lowerer):
136136
argtype = kernel_fn.kernel_arg_types[arg_num]
137137
llvm_val = _getvar(lowerer, arg)
138138
if isinstance(argtype, DpnpNdArray):
139-
datamodel = dpex_dmm.lookup(arg_type)
139+
datamodel = dpex_dmm.lookup(argtype)
140140
self.kernel_builder.build_array_arg(
141141
array_val=llvm_val,
142142
array_data_model=datamodel,

0 commit comments

Comments
 (0)