[OpenMP][libomptarget] Add utility header for AMDGPU plugins
authorKevin Sala <kevin.sala@bsc.es>
Sun, 11 Dec 2022 15:28:02 +0000 (16:28 +0100)
committerKevin Sala <kevin.sala@bsc.es>
Thu, 15 Dec 2022 20:06:04 +0000 (21:06 +0100)
commit39fe657b66bde11289efbab60a4d69acc1307999
treef162e3c04616c0febe14504bdceecd938a68370e
parent9a07780687ab5afd9e1bafe8a7c99f512eb98ce8
[OpenMP][libomptarget] Add utility header for AMDGPU plugins

This patch prepares the PluginInterface for the new AMDGPU NextGen plugin. The original and the
NextGen plugin will share some structures and functionalities. We use this header for defining
them and avoiding code duplication.

Differential Revision: https://reviews.llvm.org/D139792
openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h [new file with mode: 0644]
openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
openmp/libomptarget/plugins/amdgpu/impl/internal.h
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp