[clang] [llvm] [AMDGPU] Adding the amdgpu-num-work-groups function attribute (PR #79035)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 6 05:56:56 PST 2024


================
@@ -1312,6 +1312,11 @@ The AMDGPU backend supports the following LLVM IR attributes.
                                              the frame. This is an internal detail of how LDS variables are lowered,
                                              language front ends should not set this attribute.
 
+     "amdgpu-max-num-work-groups"="x,y,z"    Specify the maximum number of work groups for the kernel dispatch in the
----------------
arsenm wrote:

"workgroup" instead of "work-groups" for consistency 

https://github.com/llvm/llvm-project/pull/79035


More information about the cfe-commits mailing list