Skip to content

Commit 569f8ac

Browse files
authored
Merge pull request intel#1217 from againull/caching_fix
[SYCL] Fix events caching test (intel#1138)
2 parents 5f3b004 + 0f6e1a2 commit 569f8ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SYCL/Plugin/level_zero_events_caching.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
// RUN: env SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=0 ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 | FileCheck --check-prefixes=CACHING-ENABLED %s
88
// RUN: env SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=0 SYCL_PI_LEVEL_ZERO_DISABLE_EVENTS_CACHING=1 ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 | FileCheck --check-prefixes=CACHING-DISABLED %s
99

10-
// CACHING-ENABLED: zeEventCreate = 1
10+
// With events caching we should be reusing them and 9 should be enough.
11+
// Might require more than one if previous one hasn't been released by the time
12+
// we need a new one.
13+
14+
// CACHING-ENABLED: zeEventCreate = {{[1-9]}}
1115
// CACHING-DISABLED: zeEventCreate = 256
1216

1317
// Check event caching modes in the L0 plugin.

0 commit comments

Comments
 (0)