-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
This one bite us dearly on PVCs, when porting an application written in cupy. Also found a similar issue #1649
Looks like dpnp considers elements vs bytes (from numpy). Hoping to get some traction on this one
import dpnp as dp
import numpy as np
shape = (4, 24, 4096)
a_dp, a_np = dp.empty(shape, order='C'), np.empty(shape, order='C')
print("dpnp strides:", a_dp.strides)
print("numpy strides:", a_np.strides)
print("Match:", a_dp.strides == a_np.strides)Metadata
Metadata
Assignees
Labels
No labels