[PATCH] D90251: [AMDGPU] Add __builtin_amdgcn_grid_size

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 10:42:06 PDT 2020


JonChesterfield added a comment.

Consistency really. It seemed strange to have a builtin for reading the workgroup size and not one for the grid size.

There's probably a range limit that can be set on this one too, I'm just not sure what it is.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90251



More information about the cfe-commits mailing list