[Openmp-commits] [PATCH] D110109: [OpenMP] libomp: add atomic functions for new OpenMP 5.1 atomics.
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Oct 21 12:30:45 PDT 2021
AndreyChurbanov added a comment.
In D110109#3077907 <https://reviews.llvm.org/D110109#3077907>, @protze.joachim wrote:
> Why are the types in `__kmpc_atomic_val_4_cas_cpt` different from the types in `__kmpc_atomic_val_4_cas`? I think, all the functions should use fixed-size integer to respect the width suggested by the name of the function.
Sorry, Joachim, I haven't got your comment. Both functions deal with kmp_int32 that is 4 bytes. Or am I missing something?
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the Openmp-commits