Skip to content

Commit 615bed4

Browse files
authored
[SYCL][ESIMD][E2E] Fix esimd emulator timeout (#9143)
This test is computationally intensive and when running with the esimd emulator backend on a slow CPU it may hit the timeout. Add a 512x512 case and lower the existing esimd emulator limit to 512. This brings the testing time from 4 minutes to 1 minute. When run on a real GPU it runs in 1 second even on Gen9 so the extra 512 case shouldn't cause any issues there. Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent 53e77ce commit 615bed4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/test-e2e/ESIMD/matrix_transpose_glb.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ using namespace sycl;
2020
using namespace std;
2121
using namespace sycl::ext::intel::esimd;
2222

23-
const unsigned int ESIMD_EMULATOR_SIZE_LIMIT = 1U << 10;
23+
const unsigned int ESIMD_EMULATOR_SIZE_LIMIT = 1U << 9;
2424

2525
void initMatrix(int *M, unsigned N) {
2626
assert(N >= 8 && (((N - 1) & N) == 0) &&
@@ -340,14 +340,14 @@ int main(int argc, char *argv[]) {
340340
bool success = true;
341341
success &= runTest(MZ, 16, num_iters, kernel_times, total_times);
342342
if (argc == 1) {
343+
success &= runTest(1U << 9, 8, num_iters, kernel_times, total_times);
343344
success &= runTest(1U << 10, 8, num_iters, kernel_times, total_times);
344345
success &= runTest(1U << 11, 8, num_iters, kernel_times, total_times);
345346
success &= runTest(1U << 12, 8, num_iters, kernel_times, total_times);
346-
// success &= runTest(1U << 13, 8, num_iters, kernel_times, total_times);
347+
success &= runTest(1U << 9, 16, num_iters, kernel_times, total_times);
347348
success &= runTest(1U << 10, 16, num_iters, kernel_times, total_times);
348349
success &= runTest(1U << 11, 16, num_iters, kernel_times, total_times);
349350
success &= runTest(1U << 12, 16, num_iters, kernel_times, total_times);
350-
// success &= runTest(1U << 13, 16, num_iters, kernel_times, total_times);
351351
}
352352

353353
const bool profiling =

0 commit comments

Comments
 (0)