Skip to content

Commit 3e0366e

Browse files
committed
more workarounds
1 parent a9c3192 commit 3e0366e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

sycl/test-e2e/Matrix/common.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ bool matrix_compare(unsigned int rows, unsigned int cols, T1 *src, T2 *ref) {
174174
std::is_same_v<T2, double>))) {
175175
float diff = std::fabs(src[i * cols + j] - (T1)ref[i * cols + j]);
176176
if (diff > FLOAT_EPSILON || std::isnan(src[i * cols + j])) {
177-
std::cout << "Incorrect result in matrix. "
177+
std::cerr << "Incorrect result in matrix. "
178178
<< "i: " << i << ", j: " << j
179179
<< ", Ref: " << (T1)ref[i * cols + j]
180180
<< ", Val: " << src[i * cols + j] << ", Diff: " << diff
@@ -183,14 +183,14 @@ bool matrix_compare(unsigned int rows, unsigned int cols, T1 *src, T2 *ref) {
183183
}
184184
} else if constexpr (exact || std::is_integral_v<T1>) {
185185
if (src[i * cols + j] != ref[i * cols + j]) {
186-
std::cout << "Incorrect result in matrix."
186+
std::cerr << "Incorrect result in matrix."
187187
<< "i: " << i << ", j: " << j
188188
<< ", Ref: " << ref[i * cols + j]
189189
<< ", Val: " << src[i * cols + j] << "\n";
190190
return false;
191191
}
192192
} else {
193-
std::cout << "Unsupported type in matrix_compare\n";
193+
std::cerr << "Unsupported type in matrix_compare\n";
194194
return false;
195195
}
196196
}

sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_impl.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,9 @@ size_t matrix_size = -1;
484484
test<bfloat16, float, VnniFactor, /*TM*/ 32, /*TN*/ 64, /*TK*/ 16,
485485
MCache1, NCache1, KCache1, MCache2, NCache2, KCache2>(matrix_size);
486486
#ifndef PREFETCH // Workaround for GSD-10535
487-
test<bfloat16, float, VnniFactor, /*TM*/ 1, /*TN*/ 64, /*TK*/ 32, MCache1,
488-
NCache1, /*KCache1*/ 32, MCache2, NCache2, KCache2>(matrix_size);
487+
// Commented out due flaky results. GSD-10537
488+
// test<bfloat16, float, VnniFactor, /*TM*/ 1, /*TN*/ 64, /*TK*/ 32, MCache1,
489+
// NCache1, /*KCache1*/ 32, MCache2, NCache2, KCache2>(matrix_size);
489490
#endif // PREFETCH
490491
test<bfloat16, float, VnniFactor, /*TM*/ 32, /*TN*/ 64, /*TK*/ 32,
491492
MCache1, NCache1, /*KCache1*/ 32, MCache2, NCache2, KCache2>(

0 commit comments

Comments
 (0)