You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importdpnpimportnumba_dpexasnbfromnumba_dpeximportRange@nb.kerneldeffoo(a, b):
i=nb.get_global_id(0)
ifi==b:
a[0] =ba=dpnp.zeros(1)
b=1foo[Range(2**31-1)](a, b)
print(a[0])
Output:
1
...
foo[Range(2**31)](a, b)
print(a[0])
Output:
Traceback (most recent call last):
File "/home/akalistr/work/test/./sycl_id_test.py", line 14, in <module>
foo[Range(2**31)](a, b)
File "/home/akalistr/miniconda3/envs/dpbench-dev/lib/python3.10/site-packages/numba_dpex/core/kernel_interface/dispatcher.py", line 492, in __call__
exec_queue.submit(
File "dpctl/_sycl_queue.pyx", line 706, in dpctl._sycl_queue.SyclQueue.submit
File "dpctl/_sycl_queue.pyx", line 823, in dpctl._sycl_queue.SyclQueue.submit
dpctl._sycl_queue.SyclKernelSubmitError: Kernel submission to Sycl queue failed.
The text was updated successfully, but these errors were encountered:
Output:
Output:
The text was updated successfully, but these errors were encountered: