Skip to content

Commit

Permalink
[SYCL][Graph] Disable reduction test Windows leak check (#274)
Browse files Browse the repository at this point in the history
Level Zero memory leaks with reductions are a known
issue intel#9764

Only run the leak component of the reduction test on Linux
to avoid this issue.

Closes #267
  • Loading branch information
EwanC authored Jul 24, 2023
1 parent 82ee28c commit 65055f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sycl/test-e2e/Graph/Explicit/reduction.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// REQUIRES: level_zero, gpu
//
// L0 leaks resources on Windows
// XFAIL: windows
//
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
//
// Only run leak checks on Linux, as there is a known leak with reductions
// on Windows.
// RUN: %if linux && ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
//
// CHECK-NOT: LEAK

Expand Down

0 comments on commit 65055f8

Please sign in to comment.