File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 4
4
// UNSUPPORTED: windows
5
5
6
6
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
7
- // RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=0 ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 | FileCheck --check-prefixes=CACHING-ENABLED %s
8
- // RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS =0 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-STD %s
9
- // RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 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-IMM %s
7
+ // RUN: env ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 | FileCheck --check-prefixes=CACHING-ENABLED %s
8
+ // RUN: env SYCL_PI_LEVEL_ZERO_DISABLE_EVENTS_CACHING =0 ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 | FileCheck --check-prefixes=CACHING-ENABLED %s
9
+ // RUN: env SYCL_PI_LEVEL_ZERO_DISABLE_EVENTS_CACHING=1 ZE_DEBUG=4 %GPU_RUN_PLACEHOLDER %t.out 2>&1 | FileCheck --check-prefixes=CACHING-DISABLED %s
10
10
11
11
// With events caching we should be reusing them and 9 should be enough.
12
12
// Might require more than one if previous one hasn't been released by the time
13
13
// we need a new one.
14
14
15
- // With immediate commandlists there is one additional event created
16
- // during queue sync, so the expected count increases by 1 to 257.
17
-
18
15
// CACHING-ENABLED: zeEventCreate = {{[1-9]}}
19
- // CACHING-DISABLED-STD: zeEventCreate = 256
20
- // CACHING-DISABLED-IMM: zeEventCreate = 257
16
+ // CACHING-DISABLED: zeEventCreate = 256
21
17
22
18
// Check event caching modes in the L0 plugin.
23
19
You can’t perform that action at this time.
0 commit comments