[Openmp-commits] [PATCH] D64080: [OPENMP]Make __kmpc_push_tripcount thread safe.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 2 13:54:45 PDT 2019


ABataev updated this revision to Diff 207620.
ABataev added a comment.

1. Used std::swap.
2. Removed dependency on std::thread, used OpenMP thread id instead.


Repository:
  rOMP OpenMP

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

https://reviews.llvm.org/D64080

Files:
  libomptarget/deviceRTLs/nvptx/test/parallel/tripcount.c
  libomptarget/src/device.h
  libomptarget/src/interface.cpp
  libomptarget/src/omptarget.cpp
  libomptarget/src/private.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64080.207620.patch
Type: text/x-patch
Size: 3571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190702/a5e1f85e/attachment.bin>


More information about the Openmp-commits mailing list