[nfc][libomptarget] Refactor amdgcn target_impl
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Tue, 14 Jan 2020 19:27:06 +0000 (19:27 +0000)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Tue, 14 Jan 2020 19:27:07 +0000 (19:27 +0000)
commit2d287bec3c5b63b7df9946163ba02987858b1736
tree12c71bfaef9e89905d1854c96d9d92da3f0664cf
parent88b8cb7215d4333ab990c99f21c7f92262ef02ef
[nfc][libomptarget] Refactor amdgcn target_impl

Summary:
[nfc][libomptarget] Refactor amdgcn target_impl

Removes references to internal libraries from the header
Standardises on C++ mangling for all the target_impl functions
Update comment block
clang-format
Move some functions into a new target_impl.hip source file

This lays the groundwork for implementing the remaining unresolved
symbols in the target_impl.hip source.

Reviewers: jdoerfert, grokos, ABataev, ronlieb

Reviewed By: jdoerfert

Subscribers: jvesely, mgorny, jfb, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D72712
openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip [new file with mode: 0644]