llvm-project/openmp/libomptarget/plugins
Joseph Huber fdbb15355e [Libomptarget][CUDA] Check CUDA compatibilty correctly
We recently added support for multi-architecture binaries in
libomptarget. This is done by extracting the architecture from the
embedded image and comparing it with the major and minor version
supported by the current CUDA installation. Previously we just compared
these directly, which was not correct for binary compatibility. The CUDA
documentation states that we can consider any image with an equivalent
major or a greater or equal to minor compatible with the current image.
Change the check to use this new logic in the CUDA plugin.

Fixes #57049

Reviewed By: jdoerfert, ye-luo

Differential Revision: https://reviews.llvm.org/D131567
2022-08-10 11:15:27 -04:00
..
aarch64
amdgpu [nfc][openmp] clang-format system.cpp prior to D131401 2022-08-08 16:24:34 +01:00
common [Libomptarget][NFC] Make Libomptarget use the LLVM naming convention 2022-07-05 14:53:38 -04:00
cuda [Libomptarget][CUDA] Check CUDA compatibilty correctly 2022-08-10 11:15:27 -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 [openmp] Introduce optional plugin init/deinit functions 2022-07-28 16:21:38 +01:00