[Openmp-commits] [PATCH] D98654: [libomptarget] Build amdgpu plugin by default
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Mar 15 12:57:03 PDT 2021
JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, tianshilei1992, grokos, ronlieb.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, mgorny, kzhuravl.
JonChesterfield requested review of this revision.
Herald added subscribers: openmp-commits, wdng.
Herald added a project: OpenMP.
[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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98654
Files:
openmp/libomptarget/plugins/CMakeLists.txt
Index: openmp/libomptarget/plugins/CMakeLists.txt
===================================================================
--- openmp/libomptarget/plugins/CMakeLists.txt
+++ openmp/libomptarget/plugins/CMakeLists.txt
@@ -70,6 +70,7 @@
endmacro()
add_subdirectory(aarch64)
+add_subdirectory(amdgpu)
add_subdirectory(cuda)
add_subdirectory(ppc64)
add_subdirectory(ppc64le)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98654.330768.patch
Type: text/x-patch
Size: 373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210315/349c84d3/attachment.bin>
More information about the Openmp-commits
mailing list