Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit df9cb59

Browse files
[SYCL] Reenable ZE_DEBUG=4 tests on Windows. (#1662)
ZE_DEBUG=4 is working again on Windows. Therefore, am reenabling it on the tests that were previously marked UNSUPPORTED. Two of these leaks are now failing. Marked XFAIL. Signed-off-by: Perkins, Chris <[email protected]>
1 parent b6f9ac4 commit df9cb59

8 files changed

+2
-17
lines changed

SYCL/DiscardEvents/discard_events_l0_leak.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// REQUIRES: level_zero
2-
// TODO: ZE_DEBUG=4 produces no output on Windows. Enable when fixed.
3-
// UNSUPPORTED: windows
42
//
53
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
64
//

SYCL/Plugin/level-zero-event-leak.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// REQUIRES: level_zero, level_zero_dev_kit
2-
// TODO: ZE_DEBUG=4 produces no output on Windows. Enable when fixed.
3-
// UNSUPPORTED: windows
42
//
53
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
64
// RUN: env ONEAPI_DEVICE_SELECTOR="level_zero:*" ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out wait 2>&1 %GPU_CHECK_PLACEHOLDER

SYCL/Plugin/level_zero_events_caching.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
// REQUIRES: gpu, level_zero
2-
// TODO: There is a known issue that ZE_DEBUG=4 produces flaky output on
3-
// Windows.
4-
// UNSUPPORTED: windows
52

63
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
74
// RUN: env ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 | FileCheck --check-prefixes=CACHING-ENABLED %s

SYCL/Plugin/level_zero_events_caching_leak.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
// REQUIRES: gpu, level_zero
2-
// TODO: There is a known issue that ZE_DEBUG=4 produces flaky output on
3-
// Windows.
4-
// UNSUPPORTED: windows
52

63
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
74
// RUN: env ZE_MAX_NUMBER_OF_EVENTS_PER_EVENT_POOL=4 ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out

SYCL/Plugin/level_zero_queue_create.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// REQUIRES: level_zero, level_zero_dev_kit
2-
// TODO: ZE_DEBUG=4 produces no output on Windows. Enable when fixed.
3-
// UNSUPPORTED: windows
42

53
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
64
// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER

SYCL/Regression/reduction_resource_leak_dw.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// REQUIRES: level_zero, level_zero_dev_kit
2-
// TODO: ZE_DEBUG=4 produces no output on Windows. Enable when fixed.
3-
// UNSUPPORTED: windows
2+
// XFAIL: windows
43
//
54
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
65
// RUN: env ONEAPI_DEVICE_SELECTOR="level_zero:*" ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER

SYCL/Regression/reduction_resource_leak_usm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: level_zero, level_zero_dev_kit
22
// TODO: ZE_DEBUG=4 produces no output on Windows. Enable when fixed.
3-
// UNSUPPORTED: windows
3+
// XFAIL: windows
44
//
55
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
66
// RUN: env ONEAPI_DEVICE_SELECTOR="level_zero:*" ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER

SYCL/USM/usm_leak_check.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// REQUIRES: level_zero
2-
// TODO: ZE_DEBUG=4 produces no output on Windows. Enable when fixed.
3-
// UNSUPPORTED: windows
42

53
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
64

0 commit comments

Comments
 (0)