[Openmp-commits] [PATCH] D71384: [libomptarget] Implement hsa plugin
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Dec 11 18:29:40 PST 2019
JonChesterfield created this revision.
JonChesterfield added reviewers: ABataev, jdoerfert, grokos, ronlieb.
Herald added subscribers: openmp-commits, mgorny, rampitec.
Herald added a project: OpenMP.
JonChesterfield edited the summary of this revision.
[libomptarget] Implement hsa plugin
This is a close approximation to the plugin we are using in production.
Differs in that a header containing constants is inlined and the file clang-formatted.
There are some todos in the source - Ron has volunteered to look at them.
It occurred to me that this doesn't have to be especially polished code as
it's only bridging the gap between amdgcn and atmi, so can't really be reused
by another architecture. On those grounds, it seems better to fix the remaining
todos in tree. Failing that, feedback is till appreciated.
This patch doesn't connect it to the top level cmake so it can't break the
build for other plugins. Early adopters can of course add the subdirectory
in the meantime.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71384
Files:
openmp/libomptarget/plugins/hsa/CMakeLists.txt
openmp/libomptarget/plugins/hsa/src/rtl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71384.233483.patch
Type: text/x-patch
Size: 50909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191212/01c3b13b/attachment-0001.bin>
More information about the Openmp-commits
mailing list