[clang] [CIR][AMDGPU] Honor __launch_bounds__ on HIP kernels (PR #233929)
Arseniy Obolenskiy via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 21 00:06:08 PDT 2026
================
@@ -63,6 +64,9 @@ handleAMDGPUFlatWorkGroupSizeAttr(const FunctionDecl *fd, cir::FuncOp func,
} else {
assert(max == 0 && "Max must be zero");
}
+ } else if (lbMaxThreads > 0) {
+ func->setAttr("cir.amdgpu-flat-work-group-size",
----------------
aobolensk wrote:
Done
https://github.com/llvm/llvm-project/pull/233929
More information about the cfe-commits
mailing list