Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit deb2280

Browse files
authored
Update 03-dpnp2numba-dpex.py
Big fix
1 parent 2a9a08b commit deb2280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/03-dpnp2numba-dpex.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def sum_it(x): # Device queue is inferred from x. The kernel is submitted to th
3939

4040
print("Array x allocated on the device:", x.device)
4141

42-
y = np.sum(x)
42+
y = sum_it(x)
4343

4444
print("Result y is located on the device:", y.device) # The same device as x
4545
print("Shape of y is:", y.shape) # 0-dimensional array

0 commit comments

Comments
 (0)