Skip to content

Commit c744228

Browse files
Fix how sycl.hpp is included
1 parent b447e59 commit c744228

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/test/CodeGenSYCL/kernel-by-reference.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %clang_cc1 -triple spir64 -fsycl -fsycl-is-device -internal-isystem %S/Inputs -verify -fsyntax-only -Wno-sycl-strict -DNODIAG %s
44
// RUN: %clang_cc1 -triple spir64 -fsycl -fsycl-is-device -internal-isystem %S/Inputs -verify -fsyntax-only -sycl-std=2020 -Wno-sycl-strict -DNODIAG %s
55

6-
#include "Inputs/sycl.hpp"
6+
#include "sycl.hpp"
77

88
using namespace cl::sycl;
99

@@ -34,4 +34,4 @@ int main() {
3434
}
3535
#if defined(NODIAG)
3636
// expected-no-diagnostics
37-
#endif
37+
#endif

clang/test/SemaSYCL/implicit_kernel_type.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %clang_cc1 -fsycl -fsycl-is-device -internal-isystem %S/Inputs -fsycl-int-header=%t.h -fsyntax-only -verify %s -Wsycl-strict -DWARN
33
// RUN: %clang_cc1 -fsycl -fsycl-is-device -internal-isystem %S/Inputs -fsycl-int-header=%t.h -fsycl-unnamed-lambda -fsyntax-only -verify %s -Werror=sycl-strict
44

5-
#include "Inputs/sycl.hpp"
5+
#include "sycl.hpp"
66

77
using namespace cl::sycl;
88

0 commit comments

Comments
 (0)