Skip to content

Commit 8feef60

Browse files
[TEST] xfail shape unsupported by block IO in test_block_load_dpas_layout (#4718)
There is HW restriction that pitch must be equal or greater than 64B. There is no easy way to check that in runtime without affecting performance. The plan is to add runtime checks to ensure the HW restrictions are satisfied. Fixes #3935 Signed-off-by: Whitney Tsang <[email protected]>
1 parent 2c1505e commit 8feef60

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

python/test/unit/intel/test_block_load.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
@pytest.mark.xfail(not torch.xpu.get_device_capability()['has_subgroup_2d_block_io'],
1717
reason="Block loads not supported on this architecture")
1818
def test_block_load_dpas_layout(M, N, dtype_str, transpose, device, tmp_path: pathlib.Path):
19+
if transpose and N == 8:
20+
pytest.xfail("Pitch = 8 is not allowed by block IO")
21+
1922
# modify the layouts to ensure the correct OCL/SPIRV intrinsic is called for each datatype
2023
if dtype_str == "int8":
2124
A_width = 2

scripts/skiplist/xe2/intel.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)