We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c747c commit e3e79b1Copy full SHA for e3e79b1
clang/lib/Sema/SemaSYCL.cpp
@@ -2027,7 +2027,8 @@ void Sema::MarkDevice(void) {
2027
Diag(Attr->getLocation(), diag::note_conflicting_attribute);
2028
SYCLKernel->setInvalidDecl();
2029
}
2030
- } else if (auto *Existing = SYCLKernel->getAttr<SYCLIntelMaxWorkGroupSizeAttr>()) {
+ } else if (auto *Existing =
2031
+ SYCLKernel->getAttr<SYCLIntelMaxWorkGroupSizeAttr>()) {
2032
if (Existing->getXDim() < Attr->getXDim() ||
2033
Existing->getYDim() < Attr->getYDim() ||
2034
Existing->getZDim() < Attr->getZDim()) {
0 commit comments