[PATCH] D98832: [libomptarget] Tune the number of teams and threads for kernel launch.

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 18 04:06:40 PDT 2021


JonChesterfield added inline comments.


================
Comment at: llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h:102
     64 * 256,  // GV_Warp_Slot_Size
     128,       // GV_Max_Teams
     256,       // GV_Mem_Align
----------------
Side point, there is too much redundancy in this table of numbers (e.g. the log2 fields) and warp_size_32 = 32 looks suspect


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98832



More information about the llvm-commits mailing list