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
{{ message }}
Repository navigation
dpnp.prod doesn't work with integer with the latest version of the onedpl on Iris Xe GPU #1562
dpnp.prod() function returns incorrect results for integer types with the latest version of the onedpl_devel package (onedpl-devel 2022.3prerelease0 intel_49203) on Iris Xe GPU,
import dpnp
a = dpnp.arange(1,7,dtype='int32')
a.prod()
# array(1)
a = dpnp.arange(1,7,dtype='int64')
a.prod()
# array(1)
a = dpnp.arange(1,7,dtype='float32')
a.prod()
# array(720., dtype=float32)
Run on Iris Xe CPU works correctly
import dpnp
a = dpnp.arange(1,7,dtype='int64',device='cpu')
a.prod()
# array(720)
a = dpnp.arange(1,7,dtype='int32',device='cpu')
a.prod()
# array(720)
Run on Gen9 with the latest version of the onedpl_devel package (onedpl-devel 2022.3prerelease0 intel_49203) works correctly
import dpnp
a = dpnp.arange(1,7,dtype='int32')
a.prod()
# array(720)
a = dpnp.arange(1,7,dtype='int64')
a.prod()
# array(720)
The latest release version of the onedpl_devel package (onedpl-devel 2022.2.0) works correctly on Iris Xe
changed the title [-]`dpnp.prod` doesn't work with integer with the latest version of the onedpl[/-][+]`dpnp.prod` doesn't work with integer with the latest version of the onedpl on Iris Xe[/+]on Sep 18, 2023
changed the title [-]`dpnp.prod` doesn't work with integer with the latest version of the onedpl on Iris Xe[/-][+]`dpnp.prod` doesn't work with integer with the latest version of the onedpl on Iris Xe GPU[/+]on Sep 18, 2023
Activity
[-]`dpnp.prod` doesn't work with integer with the latest version of the onedpl[/-][+]`dpnp.prod` doesn't work with integer with the latest version of the onedpl on Iris Xe[/+][-]`dpnp.prod` doesn't work with integer with the latest version of the onedpl on Iris Xe[/-][+]`dpnp.prod` doesn't work with integer with the latest version of the onedpl on Iris Xe GPU[/+]