Skip to content

Commit 7115bf1

Browse files
remove Use != use::b
1 parent d949187 commit 7115bf1

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

sycl/test-e2e/Matrix/get_coordinate_ops_impl.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,11 @@ void test_get_coord_op() {
136136
matrix_sum<T, TResult, Rows, Cols, SROWS, SCOLS, Use, Layout, VF>(
137137
MM, sum_rows, sum_cols);
138138

139-
// This condition check can be removed once the IGC PR resolving the Matrix B
140-
// row coordinate bug is pull downed to the driver.
141-
if (Use != use::b) {
142-
for (int i = 0; i < Rows; i++) {
143-
for (int j = 0; j < Cols; j++) {
144-
sum_rows_ref[i] += (int)M[i][j];
145-
}
146-
assert(std::fabs(sum_rows_ref[i] - sum_rows[i]) <= FLOAT_EPSILON);
139+
for (int i = 0; i < Rows; i++) {
140+
for (int j = 0; j < Cols; j++) {
141+
sum_rows_ref[i] += (int)M[i][j];
147142
}
143+
assert(std::fabs(sum_rows_ref[i] - sum_rows[i]) <= FLOAT_EPSILON);
148144
}
149145

150146
for (int j = 0; j < Cols; j++) {

0 commit comments

Comments
 (0)