diff options
author | JonChesterfield <jonathanchesterfield@gmail.com> | 2019-12-17 12:18:55 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2019-12-17 12:18:57 +0000 |
commit | 3d3e4076cd65007007ca639d4f99c0fa671c9f8e (patch) | |
tree | 2a34982ad8342ae0e464fa476c5b83608544651f /clang/lib/AST/ASTImporter.cpp | |
parent | 5666b70fd0748765ecaa69950a4868cf23a16cc9 (diff) | |
download | bcm5719-llvm-3d3e4076cd65007007ca639d4f99c0fa671c9f8e.tar.gz bcm5719-llvm-3d3e4076cd65007007ca639d4f99c0fa671c9f8e.zip |
[libomptarget][nfc] Move omp locks under target_impl
Summary:
[libomptarget][nfc] Move omp locks under target_impl
These are likely to be target specific, even down to the lock_t which is
correspondingly moved out of interface.h. The alternative is to include
interface.h in target_impl which substantiatially increases the scope of
those symbols.
The current nvptx implementation deadlocks on amdgcn. The preferred
implementation for that arch is still under discussion - this change
leaves declarations in target_impl.
The functions could be inline for nvptx. I'd prefer to keep the internals
hidden in the target_impl translation unit, but will add the (possibly renamed)
macros to target_impl.h if preferred.
Reviewers: ABataev, jdoerfert, grokos
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, jfb, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71574
Diffstat (limited to 'clang/lib/AST/ASTImporter.cpp')
0 files changed, 0 insertions, 0 deletions