[Openmp-commits] [PATCH] D123403: [OpenMP] Refactor OMPScheduleType enum.
Michael Kruse via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Apr 14 07:10:33 PDT 2022
Meinersbur marked 7 inline comments as done.
Meinersbur added inline comments.
================
Comment at: llvm/include/llvm/Frontend/OpenMP/OMPConstants.h:135
+ UnorderedGuidedSimd = BaseGuidedSimd | ModifierUnordered, // (46)
+ UnorderedRuntimeSimd = BaseRuntimeSimd | ModifierUnordered, // (47)
+
----------------
peixin wrote:
> Why not using the following to be consistent with the name in kmp.h?
> StaticBalancedChunked
> GuidedSimd
> RuntimeSimd
As mentioned in the summary. to avoid confusion by not using the original name. `StaticBalancedChunked` could mean either the algorithm to use (now `BaseStaticBalancedChunked`, as in `omp_sched_t`/`enum kmp_sched`), or that algorithm with the unordered flag set (now `UnorderedStaticBalancedChunked `). I would the former because that's how the enum is structured.
The name in `kmp.h` for it is actually `kmp_sch_static_balanced_chunked`. `sch` for "unordered"?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123403/new/
https://reviews.llvm.org/D123403
More information about the Openmp-commits
mailing list