Skip to content

Commit 6de561e

Browse files
authored
[SYCL] Return back c++17 option to the test (#7050)
It seems that without -fsycl the default version of c++ is less than c++17 which is required for SYCL headers.
1 parent 27454de commit 6de561e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/basic_tests/accessor/host_acc_opt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -O2 -isystem %sycl_include/sycl -isystem %sycl_include -S -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clangxx -std=c++17 -O2 -isystem %sycl_include/sycl -isystem %sycl_include -S -emit-llvm %s -o - | FileCheck %s
22

33
// The test verifies that the accessor::operator[] implementation is
44
// good enough for compiler to optimize away calls to getOffset and

0 commit comments

Comments
 (0)