[Openmp-commits] [PATCH] D104788: [OpenMP] Fix builds for non-x86 after distributed barrier patch
Jonathan Peyton via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jun 23 08:10:25 PDT 2021
jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, kkwli0.
jlpeyton added a project: OpenMP.
Herald added subscribers: pengfei, jfb, guansong, yaxunl, mgorny.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
The new distributed barrier patch needs basic support for non-x86 platforms.
This patch adds non-x86 versions of KMP_M|SFENCE() as aliases to KMP_MB()
and a more robust configure-time detection of aligned memory allocator. If no aligned
memory allocator is found, then just use plain old malloc since the alignment isn't
necessary for functionality.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104788
Files:
openmp/runtime/cmake/config-ix.cmake
openmp/runtime/src/kmp_barrier.h
openmp/runtime/src/kmp_config.h.cmake
openmp/runtime/src/kmp_os.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104788.353984.patch
Type: text/x-patch
Size: 4646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210623/ad55d3dc/attachment-0001.bin>
More information about the Openmp-commits
mailing list