llvm-project/openmp/libomptarget/plugins/amdgpu
Saiyedul Islam 4075a811ad
[Libomptarget] Add checks for AMDGPU TargetID using new image info
This patch extends the is_valid_binary routine to also check if the
binary's target ID matches the one parsed from the system's runtime
environment.
This should allow us to only use the binary whose compute capability
matches, allowing us to support basic multi-architecture binaries for
AMDGPU.
It also handles compatibility testing of target IDs of the image and
the enviornment.

Depends on D127432

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D127769
2022-07-26 02:44:31 -05:00
..
dynamic_hsa [Libomptarget] Add checks for AMDGPU TargetID using new image info 2022-07-26 02:44:31 -05:00
impl [libomptarget][amdgpu] Add hidden_heap_v1 kernarg metadata 2022-04-13 03:57:29 +00:00
src [Libomptarget] Add checks for AMDGPU TargetID using new image info 2022-07-26 02:44:31 -05:00
CMakeLists.txt [Libomptarget] Make the plugins link as LLVM libraries 2022-07-22 09:34:12 -04:00