[all-commits] [llvm/llvm-project] 107f8d: [Clang][OpenCL][AMDGPU] Allow a kernel to call ano...
Aniket Lal via All-commits
all-commits at lists.llvm.org
Fri Nov 29 00:36:54 PST 2024
Branch: refs/heads/users/lalaniket8/emit-device-version-of-openCL-kernel
Home: https://github.com/llvm/llvm-project
Commit: 107f8dbc6b2fa157ce3936a086093882012b9d62
https://github.com/llvm/llvm-project/commit/107f8dbc6b2fa157ce3936a086093882012b9d62
Author: anikelal <anikelal at amd.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M clang/include/clang/AST/GlobalDecl.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/Mangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGOpenCLRuntime.cpp
M clang/lib/CodeGen/CGOpenCLRuntime.h
M clang/lib/CodeGen/CodeGenModule.cpp
A clang/test/CodeGenOpenCL/opencl-kernel-call.cl
M clang/test/CodeGenOpenCL/reflect.cl
M clang/test/CodeGenOpenCL/spir-calling-conv.cl
M clang/test/CodeGenOpenCL/visibility.cl
Log Message:
-----------
[Clang][OpenCL][AMDGPU] Allow a kernel to call another kernel
This feature is currently not supported in the compiler.
To facilitate this we emit a stub version of each kernel
function body with different name mangling scheme, and
replaces the respective kernel call-sites appropriately.
Fixes https://github.com/llvm/llvm-project/issues/60313
D120566 was an earlier attempt made to upstream a solution
for this issue.
Commit: 013801b1fc82ec6806b876d93da24d4f0f2ed098
https://github.com/llvm/llvm-project/commit/013801b1fc82ec6806b876d93da24d4f0f2ed098
Author: anikelal <anikelal at amd.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M clang/include/clang/AST/GlobalDecl.h
M clang/lib/CodeGen/CGOpenCLRuntime.cpp
Log Message:
-----------
[Clang][OpenCL][AMDGPU] Allow a kernel to call another kernel
Simplifying isDeclOpenCLKernel() and removing resolved comments
Compare: https://github.com/llvm/llvm-project/compare/00167a3caa6c...013801b1fc82
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list