numba-dpex icon indicating copy to clipboard operation
numba-dpex copied to clipboard

Support for default dtype in numba_dpex.local.array and numba_dpex.private.array

Open samaid opened this issue 2 years ago • 0 comments

Currently dtype must be specified explicitly:

b = ndpx.local.array(ls, dtype=a.dtype)
c = ndpx.private.array(ls, dtype=a.dtype)

For consistency with dpnp need to support the case b = ndpx.local.array(ls) c = ndpx.private.array(ls)

samaid avatar Nov 22 '22 19:11 samaid