Skip to content

Commit 6a313bf

Browse files
committed
[SYCL] Support intel::reqd_work_group_size (fix intel#7.4)
Signed-off-by: Aleksander Fadeev <[email protected]>
1 parent 18b0e94 commit 6a313bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include "llvm/ADT/STLExtras.h"
3737
#include "llvm/ADT/StringExtras.h"
3838
#include "llvm/Support/MathExtras.h"
39+
#include <type_traits>
3940

4041
using namespace clang;
4142
using namespace sema;
@@ -2926,7 +2927,7 @@ static bool checkWorkGroupSizeValues(Sema &S, Decl *D, const ParsedAttr &Attr,
29262927
return Result;
29272928
}
29282929

2929-
#include <type_traits>
2930+
//#include <type_traits>
29302931
// Handles reqd_work_group_size, work_group_size_hint and max_work_group_size
29312932
template <typename WorkGroupAttr>
29322933
static void handleWorkGroupSize(Sema &S, Decl *D, const ParsedAttr &AL) {

0 commit comments

Comments
 (0)