llvm-project/openmp/libomptarget/deviceRTLs
Jon Chesterfield 2a43688a0a [nfc][libomptarget] Refactor nvptx/target_impl.cu
Summary:
[nfc][libomptarget] Refactor nxptx/target_impl.cu

Use __kmpc_impl_atomic_add instead of atomicAdd to match the rest of the file.
Alternatively, target_impl.cu could use the cuda functions directly. Using a mixture in this
file was an oversight, happy to resolve in either direction.

Removed some comments that look outdated.

Call __kmpc_impl_unset_lock directly to avoid a redundant diagnostic and remove an implict
dependency on interface.h.

Reviewers: ABataev, grokos, jdoerfert

Reviewed By: jdoerfert

Subscribers: jfb, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D72719
2020-01-14 19:27:45 +00:00
..
amdgcn [nfc][libomptarget] Refactor amdgcn target_impl 2020-01-14 19:27:07 +00:00
common [OpenMP] NFC: Fix trivial typos in comments 2020-01-07 14:05:03 +08:00
nvptx [nfc][libomptarget] Refactor nvptx/target_impl.cu 2020-01-14 19:27:45 +00:00
CMakeLists.txt [libomptarget] Build a minimal deviceRTL for amdgcn 2019-12-04 16:43:37 +00:00
interface.h [libomptarget][nfc] Move omp locks under target_impl 2019-12-17 12:18:57 +00:00