[clang] [SYCL] Basic code generation for SYCL kernel caller offload entry point functions. (PR #133030)
Fraser Cormack via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 27 06:02:49 PDT 2025
================
@@ -229,6 +229,12 @@ class CodeGenTypes {
const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
const CallArgList &args);
+ /// A SYCL device kernel function is a free standing function with
+ /// spir_kernel calling convention
----------------
frasercrmck wrote:
IIUC, using NVVM metadata to identify kernels is now legacy/deprecated. I believe the NVPTX target now uses the `ptx_kernel` calling convention exclusively. See https://github.com/llvm/llvm-project/pull/119261 and https://github.com/llvm/llvm-project/pull/120806 for example.
https://github.com/llvm/llvm-project/pull/133030
More information about the cfe-commits
mailing list