Skip to content

Commit 3def82f

Browse files
committed
workarounds for IGC problems
1 parent a7efc4a commit 3def82f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

sycl/test-e2e/Matrix/Inputs/joint_matrix_bf16_fill_k_cache_impl.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,14 @@ int main(
483483
MCache1, NCache1, KCache1, MCache2, NCache2, KCache2>(matrix_size);
484484
test<bfloat16, float, VnniFactor, /*TM*/ 32, /*TN*/ 64, /*TK*/ 16,
485485
MCache1, NCache1, KCache1, MCache2, NCache2, KCache2>(matrix_size);
486+
#ifndef PREFETCH // Workaround for GSD-10535
486487
test<bfloat16, float, VnniFactor, /*TM*/ 1, /*TN*/ 64, /*TK*/ 32, MCache1,
487488
NCache1, /*KCache1*/ 32, MCache2, NCache2, KCache2>(matrix_size);
489+
#endif // PREFETCH
488490
test<bfloat16, float, VnniFactor, /*TM*/ 32, /*TN*/ 64, /*TK*/ 32,
489491
MCache1, NCache1, /*KCache1*/ 32, MCache2, NCache2, KCache2>(
490492
matrix_size);
491-
#endif
493+
#endif // (!defined(SG_SZ) || SG_SZ != 32)
492494
break;
493495
}
494496

sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_unroll.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111

1212
// REQUIRES: aspect-ext_intel_matrix
1313

14-
// RUN: %{build} -mllvm -inline-threshold=2000 %fp-model-precise -o %t.out -DMANUAL_UNROLL -DVNNI
14+
// RUN: %{build} -mllvm -inline-threshold=5000 %fp-model-precise -o %t.out -DMANUAL_UNROLL -DVNNI
1515
// RUN: %{run} %t.out
1616

1717
// -mllvm -inline-threshold=2000 added as a workaround,
1818
// since IGC doesn't support some variants of IR for Joint Matrix currently
19+
// -inline-threshold increased to 5000 to workaround bug in IGC: GSD-10534
1920
// -ffp-model=precise is added to not depend on compiler defaults.
2021

2122
#include "common.hpp"

sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_unroll_init.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111

1212
// REQUIRES: aspect-ext_intel_matrix, gpu
1313

14-
// RUN: %{build} -mllvm -inline-threshold=2000 %fp-model-precise -o %t_gpu.out -DINIT_LIST -DMANUAL_UNROLL -DVNNI
14+
// RUN: %{build} -mllvm -inline-threshold=5000 %fp-model-precise -o %t_gpu.out -DINIT_LIST -DMANUAL_UNROLL -DVNNI
1515
// RUN: %{run} %t_gpu.out
1616

1717
// -mllvm -inline-threshold=2000 added as a workaround,
1818
// since IGC doesn't support some variants of IR for Joint Matrix currently
19+
// -inline-threshold increased to 5000 to workaround bug in IGC: GSD-10534
1920
// -ffp-model=precise is added to not depend on compiler defaults.
2021

2122
#include "common.hpp"

0 commit comments

Comments
 (0)