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

Commit 9e32012

Browse files
[SYCL] Modify SYCL/KernelAndProgram/cache_env_vars.cpp to pass with -O0 (#1174)
Internally, we run the test suite with optimizations disabled and this test started to fail after intel/llvm#6560. Adust it to pass again.
1 parent 4d196e9 commit 9e32012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/KernelAndProgram/cache_env_vars.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Build program and add item to cache
66
// RUN: %BE_RUN_PLACEHOLDER SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_DIR=%t/cache_dir SYCL_PI_TRACE=-1 %t.out | FileCheck %s --check-prefixes=CHECK-BUILD
77
// Ignore caching because image size is less than threshold
8-
// RUN: %BE_RUN_PLACEHOLDER SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_DIR=%t/cache_dir SYCL_PI_TRACE=-1 SYCL_CACHE_MIN_DEVICE_IMAGE_SIZE=100000 %t.out | FileCheck %s --check-prefixes=CHECK-BUILD
8+
// RUN: %BE_RUN_PLACEHOLDER SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_DIR=%t/cache_dir SYCL_PI_TRACE=-1 SYCL_CACHE_MIN_DEVICE_IMAGE_SIZE=1000000 %t.out | FileCheck %s --check-prefixes=CHECK-BUILD
99
// Ignore caching because image size is more than threshold
1010
// RUN: %BE_RUN_PLACEHOLDER SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_DIR=%t/cache_dir SYCL_PI_TRACE=-1 SYCL_CACHE_MAX_DEVICE_IMAGE_SIZE=1000 %t.out | FileCheck %s --check-prefixes=CHECK-BUILD
1111
// Use cache

0 commit comments

Comments
 (0)