[clang] [SYCL] SYCL host kernel launch support for the sycl_kernel_entry_point attribute. (PR #152403)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 4 19:11:35 PST 2026
================
@@ -64,9 +64,38 @@ class SemaSYCL : public SemaBase {
void handleKernelAttr(Decl *D, const ParsedAttr &AL);
void handleKernelEntryPointAttr(Decl *D, const ParsedAttr &AL);
+ /// Issues a deferred diagnostic if use of the declaration designated
+ /// by 'D' is invalid in a device context.
+ void CheckDeviceUseOfDecl(NamedDecl *D, SourceLocation Loc);
----------------
tahonermann wrote:
Yes, thank you, good catch. It looks like I forgot to update the parameter name when I changed its type at some point. Fixed in commit be69af78fdd55b4ac9d8cdf8671666b04f6594d5.
https://github.com/llvm/llvm-project/pull/152403
More information about the cfe-commits
mailing list