Skip to content

Commit 4c866c5

Browse files
committed
im2col fixes
1 parent 6317759 commit 4c866c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cuda_core/tests/test_tensor_map.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,9 @@ def skip_if_no_im2col_wide(self, dev):
373373
def test_from_im2col_wide_3d(self, dev, skip_if_no_im2col_wide):
374374
# 3D tensor: batch=1, width=32, channels=64
375375
buf = dev.allocate(1 * 32 * 64 * 4)
376+
tensor = _DeviceArray(buf, (1, 32, 64))
376377
desc = TensorMapDescriptor.from_im2col_wide(
377-
buf,
378+
tensor,
378379
pixel_box_lower_corner_width=0,
379380
pixel_box_upper_corner_width=4,
380381
channels_per_pixel=64,

0 commit comments

Comments
 (0)