File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -1193,7 +1193,7 @@ def SYCLIntelBufferLocation : InheritableAttr {
1193
1193
let Spellings = [];
1194
1194
let Args = [UnsignedArgument<"LocationID">];
1195
1195
let LangOpts = [SYCLIsDevice, SYCLIsHost];
1196
- let Documentation = [SYCLIntelBufferLocationAttrDocs ];
1196
+ let Documentation = [Undocumented ];
1197
1197
}
1198
1198
1199
1199
def SYCLIntelKernelArgsRestrict : InheritableAttr {
Original file line number Diff line number Diff line change @@ -1994,25 +1994,6 @@ can be lowered.
1994
1994
}];
1995
1995
}
1996
1996
1997
- def SYCLIntelBufferLocationAttrDocs : Documentation {
1998
- let Category = DocCatFunction;
1999
- let Heading = "kernel_args_buffer_location";
2000
- let Content = [{
2001
- This attribute is implicitly added to OpenCL pointer kernel parameters generated
2002
- from a SYCL kernel object. It lacks a spelling, as it is not intended to be used
2003
- by the programmer.
2004
-
2005
- This attribute causes clang to generate metadata on the OpenCL kernel containing
2006
- the number of kernel parameters. The metadata contains an integer that is set
2007
- according to the values passed through the ``accessor`` property
2008
- ``buffer_location``. These values are mapped to the actual locations of the
2009
- global buffers (such as DDR, QDR, etc) and applied to pointer kernel parameters.
2010
- Number of metadata arguments is the same as a number of kernel parameters, so
2011
- any parameter that isn't an ``accessor`` with ``buffer_location`` property is
2012
- annotated by '-1' in the metadata node.
2013
- }];
2014
- }
2015
-
2016
1997
def SYCLIntelKernelArgsRestrictDocs : Documentation {
2017
1998
let Category = DocCatVariable;
2018
1999
let Heading = "kernel_args_restrict";
You can’t perform that action at this time.
0 commit comments