Skip to content

Commit 421217a

Browse files
committed
[SYCL] Support intel::reqd_work_group_size (fix intel#8.2)
Signed-off-by: Aleksander Fadeev <[email protected]>
1 parent 995352e commit 421217a

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

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

4140
using namespace clang;
4241
using namespace sema;
@@ -2916,7 +2915,6 @@ static bool checkWorkGroupSizeValues(Sema &S, Decl *D, const ParsedAttr &Attr,
29162915
return Result;
29172916
}
29182917

2919-
//#include <type_traits>
29202918
// Handles reqd_work_group_size, work_group_size_hint and max_work_group_size
29212919
template <typename WorkGroupAttr>
29222920
static void handleWorkGroupSize(Sema &S, Decl *D, const ParsedAttr &AL) {

clang/test/Misc/pragma-attribute-supported-attributes-list.test

-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@
140140
// CHECK-NEXT: SYCLDevice (SubjectMatchRule_function)
141141
// CHECK-NEXT: SYCLDeviceIndirectlyCallable (SubjectMatchRule_function)
142142
// CHECK-NEXT: SYCLIntelKernelArgsRestrict (SubjectMatchRule_function)
143-
// CHECK-NEXT: SYCLIntelReqdWorkGroupSize (SubjectMatchRule_function)
144143
// CHECK-NEXT: ScopedLockable (SubjectMatchRule_record)
145144
// CHECK-NEXT: Section (SubjectMatchRule_function, SubjectMatchRule_variable_is_global, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property)
146145
// CHECK-NEXT: SetTypestate (SubjectMatchRule_function_is_member)

0 commit comments

Comments
 (0)