[PATCH] D158382: [OpenMP] Use default grid value for static grid size
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 08:50:24 PDT 2023
jhuber6 added inline comments.
================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:4133
+ }
+ // Assume NVPTX for now.
+ return omp::NVPTXGridValues;
----------------
Can't we just get the module from the Function and check the triple?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158382/new/
https://reviews.llvm.org/D158382
More information about the llvm-commits
mailing list