Skip to content

Commit

Permalink
Merge pull request #1431 from IntelPython/update/example-to-use-lates…
Browse files Browse the repository at this point in the history
…t-dpctl-api

Update example to use latest dpctl API.
  • Loading branch information
Diptorup Deb authored Apr 5, 2024
2 parents 223df44 + 9673d9a commit 25daa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba_dpex/examples/kernel/matmul.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _arange_reshaped(shape, dtype):
X = dpt.asarray(X)
Y = dpt.asarray(Y)
device = X.device.sycl_device
result = dpt.zeros((5, 5), dtype, device=device)
result = dpt.zeros((5, 5), dtype=dtype, device=device)
X_slm = kapi.LocalAccessor(shape=work_group_size, dtype=dtype)
Y_slm = kapi.LocalAccessor(shape=work_group_size, dtype=dtype)

Expand Down

0 comments on commit 25daa86

Please sign in to comment.