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
importwarpaswpwithwp.ScopedDevice("cuda"):
array=wp.array(((1, 2), (3, 4), (5, 6)), dtype=wp.vec2s)
view=wp.array(array, dtype=wp.vec3s)
assertview.dtypeiswp.vec3sprint(f"shape: {view.shape}, expected: (2,), correct: {view.shape== (2,)}")
print(f"strides: {view.strides}, expected: (6,), correct: {view.strides== (6,)}")
# RuntimeError: The inner dimensions of the input data are not compatible with the requested vector type vec3s: expected an inner dimension that is a multiple of 3
Bug Description
Test case 1:
Test case 2:
Test case 3:
System Information
No response
The text was updated successfully, but these errors were encountered: