Skip to content

Commit c812d8b

Browse files
[SYCL][E2E] Add -O2 to Matrix/joint_matrix_out_bounds.cpp (#17048)
Computing reference values on host is slow at default `-O0`, making this test very slow. Before this PR, from CI precommit: ``` Slowest Tests: -------------------------------------------------------------------------- 174.00s: SYCL :: Matrix/joint_matrix_out_bounds.cpp 77.60s: SYCL :: KernelCompiler/kernel_compiler_sycl_jit.cpp ```
1 parent 054bc27 commit c812d8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/test-e2e/Matrix/joint_matrix_out_bounds.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
// UNSUPPORTED: gpu-intel-dg2, cpu
1616
// UNSUPPORTED-INTENDED: Checked load/stores are not supported by DG2 and CPU HW
1717

18-
// RUN: %{build} -o %t.out
18+
// Make sure that at least some optimization level is used as we perform
19+
// reference matrix multiplication on host and that is very slow at O0.
20+
// RUN: %{build} -O2 -o %t.out
1921
// RUN: %{run} %t.out
2022

2123
#include "common.hpp"

0 commit comments

Comments
 (0)