Skip to content

Commit

Permalink
[SYCL] reqd_work_group_size attribute is reversed (fix intel#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
  • Loading branch information
fadeeval committed Mar 10, 2020
1 parent 9ab8cf7 commit abe6d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/Basic/Attr.td
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ def SYCLIntelKernelArgsRestrict : InheritableAttr {

def SYCLIntelNumSimdWorkItems : InheritableAttr {
let Spellings = [CXX11<"intelfpga","num_simd_work_items">];
let Args = [IntArgument<"Number">];
let Args = [UnsignedArgument<"Number">];
let LangOpts = [SYCLIsDevice, SYCLIsHost];
let Subjects = SubjectList<[Function], ErrorDiag>;
let Documentation = [SYCLIntelNumSimdWorkItemsAttrDocs];
Expand Down

0 comments on commit abe6d2d

Please sign in to comment.