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

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 26 10:59:48 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
----------------
shiltian wrote:

It does say that: "The max number of launched work-groups in the X, Y, and Z dimensions. Each number must be >=1."

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


More information about the llvm-commits mailing list