Skip to content

Commit 740f389

Browse files
committed
Modify integration header changes
1 parent 69388f0 commit 740f389

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6290,6 +6290,7 @@ void SYCLIntegrationHeader::emit(raw_ostream &O) {
62906290
// work_group_memory<int> where the hidden second parameter has a default
62916291
// value. To circumvent this, we include the correct forward declaration
62926292
// ourselves.
6293+
O << "#include <tuple>\n";
62936294
O << "#include "
62946295
"<sycl/ext/oneapi/experimental/work_group_memory_forward_decl.hpp>\n";
62956296
O << "\n";

sycl/include/sycl/ext/oneapi/experimental/work_group_memory.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#pragma once
1010

11+
#include <tuple>
1112
#include <sycl/ext/oneapi/experimental/work_group_memory_forward_decl.hpp>
1213
#include <type_traits>
1314

sycl/include/sycl/ext/oneapi/experimental/work_group_memory_forward_decl.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#pragma once
2-
#include <tuple>
32
namespace sycl {
43
inline namespace _V1 {
54
namespace ext {

0 commit comments

Comments
 (0)