[llvm] AMDGPU: Treat uint32_max as the default value for amdgpu-max-num-workgroups (PR #113751)

Krzysztof Drewniak via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 08:10:09 PDT 2024


================
@@ -54,16 +81,25 @@ attributes #4 = {"amdgpu-max-num-workgroups"="1024,1024,1024"}
 
 ; CHECK: - .args:
 ; CHECK:        .max_flat_workgroup_size: 1024
+; CHECK-NEXT:   .max_num_workgroups_x: 0
----------------
krzysz00 wrote:

In trivial questions, is the hardware maximum for workgroups actually `uint32_t_max` in all dimensions, or is it `uint32_t_max / [wave size]`?

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


More information about the llvm-commits mailing list