File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -1180,13 +1180,17 @@ def SYCLRegisterNum : InheritableAttr {
1180
1180
let Documentation = [SYCLRegisterNumDocs];
1181
1181
}
1182
1182
1183
- // Used to mark ESIMD kernel pointer parameters originating from accessors.
1183
+ // Used by FE to mark ESIMD kernel pointer parameters which correspond to the
1184
+ // original lambda's captured accessors. FE turns the attribute to some metadata
1185
+ // required by the ESIMD Back-End.
1186
+ // Not supposed to be used directly in the source - SYCL device compiler FE
1187
+ // automatically adds it for ESIMD kernels, hence undocumented.
1184
1188
def SYCLSimdAccessorPtr : InheritableAttr {
1185
1189
// No spelling, as this attribute can't be created in the source code.
1186
1190
let Spellings = [];
1187
1191
let Subjects = SubjectList<[ParmVar]>;
1188
1192
let LangOpts = [SYCLExplicitSIMD];
1189
- let Documentation = [SYCLSimdAccessorPtrDocs ];
1193
+ let Documentation = [Undocumented ];
1190
1194
}
1191
1195
1192
1196
def SYCLScope : Attr {
Original file line number Diff line number Diff line change @@ -380,18 +380,6 @@ def SYCLRegisterNumDocs : Documentation {
380
380
}];
381
381
}
382
382
383
- def SYCLSimdAccessorPtrDocs : Documentation {
384
- let Category = DocCatVariable;
385
- let Content = [{
386
- The ``__attribute__((esimd_acc_ptr))`` attribute is used by FE to mark ESIMD
387
- kernel pointer parameters which correspond to the original
388
- lambda's captured accessors. FE turns the attribute to some metadata
389
- required by the ESIMD Back-End.
390
- Not supposed to be used directly in the source - SYCL device compiler FE
391
- automatically adds it for ESIMD kernels.
392
- }];
393
- }
394
-
395
383
def C11NoReturnDocs : Documentation {
396
384
let Category = DocCatFunction;
397
385
let Content = [{
You can’t perform that action at this time.
0 commit comments