[Openmp-commits] [openmp] 7da76aa - [libomptarget] Build amdgpu plugin by default
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Mon Mar 15 13:12:33 PDT 2021
Author: Jon Chesterfield
Date: 2021-03-15T20:12:01Z
New Revision: 7da76aaaf41e963a1ec3b108f2bfefd88f42858b
URL: https://github.com/llvm/llvm-project/commit/7da76aaaf41e963a1ec3b108f2bfefd88f42858b
DIFF: https://github.com/llvm/llvm-project/commit/7da76aaaf41e963a1ec3b108f2bfefd88f42858b.diff
LOG: [libomptarget] Build amdgpu plugin by default
[libomptarget] Build amdgpu plugin by default
This will build the amdgpu plugin if cmake is able to find the hsa
runtime library, which will be the case if rocm is installed or if
the hsa library has been installed somewhere cmake looks.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D98654
Added:
Modified:
openmp/libomptarget/plugins/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/CMakeLists.txt b/openmp/libomptarget/plugins/CMakeLists.txt
index 9fb54765e517..ac156785c9a0 100644
--- a/openmp/libomptarget/plugins/CMakeLists.txt
+++ b/openmp/libomptarget/plugins/CMakeLists.txt
@@ -70,6 +70,7 @@ endif()
endmacro()
add_subdirectory(aarch64)
+add_subdirectory(amdgpu)
add_subdirectory(cuda)
add_subdirectory(ppc64)
add_subdirectory(ppc64le)
More information about the Openmp-commits
mailing list