Skip to content

Commit 9673d9a

Browse files
author
Diptorup Deb
committed
Update example to use latest dpctl API.
1 parent 223df44 commit 9673d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numba_dpex/examples/kernel/matmul.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _arange_reshaped(shape, dtype):
8383
X = dpt.asarray(X)
8484
Y = dpt.asarray(Y)
8585
device = X.device.sycl_device
86-
result = dpt.zeros((5, 5), dtype, device=device)
86+
result = dpt.zeros((5, 5), dtype=dtype, device=device)
8787
X_slm = kapi.LocalAccessor(shape=work_group_size, dtype=dtype)
8888
Y_slm = kapi.LocalAccessor(shape=work_group_size, dtype=dtype)
8989

0 commit comments

Comments
 (0)