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

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 08:48:36 PDT 2023


yaxunl added inline comments.


================
Comment at: llvm/docs/AMDGPUUsage.rst:1004
+                                             with more restrictive bounds by default depending on the language.
+                                             The behavior is undefined if the number of logically active lanes
+                                             exceeds the upper limit of this range at any point in the execution.
----------------
if the actual block size or workgroup size exceeds the limit, the behaviour will be undefined. For example, even if there is only one active thread but the thread local id exceeds the limit, the behaviour is undefined.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154210/new/

https://reviews.llvm.org/D154210



More information about the llvm-commits mailing list