[libomptarget][nfc] Move non-freestanding headers out of common
authorJonChesterfield <jonathanchesterfield@gmail.com>
Tue, 31 Mar 2020 22:43:03 +0000 (23:43 +0100)
committerJonChesterfield <jonathanchesterfield@gmail.com>
Tue, 31 Mar 2020 22:43:18 +0000 (23:43 +0100)
commit09834f976125545c74b8c1161be5204352165368
tree3c26742cd6553aec479a07b5bc5da026c5a65d1e
parentee77607ca6ceaf13801bdb98307fd26c78fbc92a
[libomptarget][nfc] Move non-freestanding headers out of common

Summary:
[libomptarget][nfc] Move non-freestanding headers out of common

Lowers the bar for building deviceRTL.
Drops math.h entirely as it wasn't used and libm is a big dependency.

Reviewers: jdoerfert, ABataev, grokos

Reviewed By: jdoerfert

Subscribers: jvesely, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D77071
openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
openmp/libomptarget/deviceRTLs/common/debug.h
openmp/libomptarget/deviceRTLs/common/omptarget.h
openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu
openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h