[PATCH] D154210: AMDGPU: Add some notes about amdgpu-flat-work-group-size

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 06:02:01 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, foad, nhaehnle.
Herald added subscribers: StephenFan, kerbowa, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

https://reviews.llvm.org/D154210

Files:
  llvm/docs/AMDGPUUsage.rst


Index: llvm/docs/AMDGPUUsage.rst
===================================================================
--- llvm/docs/AMDGPUUsage.rst
+++ llvm/docs/AMDGPUUsage.rst
@@ -986,7 +986,10 @@
      "amdgpu-flat-work-group-size"="min,max" Specify the minimum and maximum flat work group sizes that
                                              will be specified when the kernel is dispatched. Generated
                                              by the ``amdgpu_flat_work_group_size`` CLANG attribute [CLANG-ATTR]_.
-                                             The implied default value is 1,1024.
+                                             The implied default value is 1,1024. The behavior is
+                                             undefined if the number of logically active lanes
+                                             exceeds the upper limit of this range at any point in
+                                             the execution.
 
      "amdgpu-implicitarg-num-bytes"="n"      Number of kernel argument bytes to add to the kernel
                                              argument block size for the implicit arguments. This


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154210.536200.patch
Type: text/x-patch
Size: 1147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230630/c10c0cd2/attachment.bin>


More information about the llvm-commits mailing list