llvm-project/openmp/libomptarget/plugins
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
..
aarch64
amdgpu [Libomptarget] Add checks for AMDGPU TargetID using new image info 2022-07-26 02:44:31 -05:00
common [Libomptarget][NFC] Make Libomptarget use the LLVM naming convention 2022-07-05 14:53:38 -04:00
cuda [Libomptarget] Don't report lack of CUDA devices 2022-07-22 14:46:45 -04:00
generic-elf-64bit/src [Libomptarget][NFC] Make Libomptarget use the LLVM naming convention 2022-07-05 14:53:38 -04:00
ppc64 Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
ppc64le Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
remote [Libomptarget][remote] Add OpenMP linker flag to the plugin 2022-04-21 15:45:29 -04:00
ve [Libomptarget] Make the plugins link as LLVM libraries 2022-07-22 09:34:12 -04:00
x86_64 Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
CMakeLists.txt [Libomptarget] Make the plugins link as LLVM libraries 2022-07-22 09:34:12 -04:00
exports [Libomptarget] Add checks for CUDA subarchitecture using new info 2022-07-21 13:20:06 -04:00