[Openmp-commits] [PATCH] D102499: [libomptarget][amdgpu] Mark alloc, free weak to facilitate local experimentation
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu May 20 15:17:40 PDT 2021
tianshilei1992 accepted this revision.
tianshilei1992 added a comment.
This revision is now accepted and ready to land.
The change itself looks good to me, but I'm just curious where you would expect to have a more definitive definition later, especially the two functions are so target specific.
================
Comment at: openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip:55
-static void pteam_mem_barrier(uint32_t num_threads, uint32_t * barrier_state)
-{
+static void pteam_mem_barrier(uint32_t num_threads, uint32_t *barrier_state) {
__atomic_thread_fence(__ATOMIC_ACQUIRE);
----------------
unrelated change
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102499/new/
https://reviews.llvm.org/D102499
More information about the Openmp-commits
mailing list