[Openmp-commits] [PATCH] D103121: [OpenMP] libomp: Add new experimental barrier: two-level distributed barrier

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jun 23 08:11:51 PDT 2021


jlpeyton added a comment.

In D103121#2828326 <https://reviews.llvm.org/D103121#2828326>, @kkwli0 wrote:

> Building on Power running RHEL has the following errors.
>
>   /llvm-project/openmp/runtime/src/kmp_barrier.cpp:371:3: error: use of undeclared identifier 'KMP_MFENCE'
>     KMP_MFENCE();
>     ^
>
>
>
>   /llvm-project/openmp/runtime/src/kmp_barrier.h:82:51: error: use of undeclared identifier '_mm_malloc'
>       distributedBarrier *d = (distributedBarrier *)_mm_malloc(
>                                                     ^

Kelvin, I've created https://reviews.llvm.org/D104788 to fix this, can you check this patch and see if it fixes your problem.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103121



More information about the Openmp-commits mailing list