mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[BACKEND] Make sure getAxisBlockStride does not return 0 (#2273)
This can happen when the CTA shape is larger than the tensor shape along the non-axis dim during scanOp lowering.
This commit is contained in:
@@ -1750,7 +1750,7 @@ scan_layouts = [
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("M, N", [[32, 32], [32, 64], [64, 32]])
|
||||
@pytest.mark.parametrize("M, N", [[32, 16], [32, 32], [32, 64], [64, 32]])
|
||||
@pytest.mark.parametrize("src_layout", scan_layouts)
|
||||
@pytest.mark.parametrize("axis", [0, 1])
|
||||
def test_scan_layouts(M, N, src_layout, axis, device):
|
||||
|
||||
Reference in New Issue
Block a user