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
DeprecationWarning: The current syntax for specification of kernel lauch parameters is deprecated. Users should set the kernel parameters through Range/NdRange classes.
Example:
from numba_dpex import Range,NdRange
# for global range only
<function>[Range(X,Y)](<parameters>)
# or,
# for both global and local ranges
<function>[NdRange((X,Y), (P,Q))](<parameters>)
sum[20, dpex.DEFAULT_LOCAL_SIZE](a, b, c)
/home/paul/st-python/oneapi/t-2.py:20: DeprecationWarning: Empty local_range calls are deprecated. Please use Range/NdRange to specify the kernel launch parameters:
Example:
from numba_dpex import Range,NdRange
# for global range only
<function>[Range(X,Y)](<parameters>)
# or,
# for both global and local ranges
<function>[NdRange((X,Y), (P,Q))](<parameters>)
sum[20, dpex.DEFAULT_LOCAL_SIZE](a, b, c)
The text was updated successfully, but these errors were encountered:
Running an example from https://intelpython.github.io/numba-dpex/latest/CoreFeatures.html or https://intelpython.github.io/numba-dpex/latest/index.html produces deprecation warning:
The text was updated successfully, but these errors were encountered: