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

Jun Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 17:40:34 PST 2024


================
@@ -2705,6 +2705,30 @@ An error will be given if:
   }];
 }
 
+def AMDGPUNumWorkGroupsDocs : Documentation {
+  let Category = DocCatAMDGPUAttributes;
+  let Content = [{
+The number of work groups specifies the number of work groups when the kernel
----------------
jwanggit86 wrote:

Updated. However, the phrase "number of work groups" itself appears to be clear enough.

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


More information about the llvm-commits mailing list