[Openmp-commits] [PATCH] D70414: [libomptarget] Implement a CMakeLists.txt for amdgcn

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 18 17:13:14 PST 2019


JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, ABataev, grokos, ronlieb, gregrodgers.
Herald added subscribers: openmp-commits, mgorny, jvesely.
Herald added a project: OpenMP.

[libomptarget] Implement a CMakeLists.txt for amdgcn

The file is functionally identical to the one used in the aomp fork.
Whitespace changes were made based on nvptx/CMakeLists.txt, plus the
copyright notice updated to match (Greg was the original author so would
like his sign off on that here).

The deviceRTL doesn't actually build yet for a few reasons:

- Files in common include support.h, omptarget-nvptx.h
- The cuda implementation shim is not yet empty, though it is getting smaller

For that reason, this isn't plumbed into the deviceRTL/CMakeLists.txt.
It does however show how a different target builds a deviceRTL with clang.

It'll become functional once the other files are moved to common/ or
reimplemented under amdgcn, and cuda either removed from common/ or provided
via a similar shim to the out of tree one.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70414

Files:
  openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70414.229949.patch
Type: text/x-patch
Size: 4013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191119/4a7943d3/attachment-0001.bin>


More information about the Openmp-commits mailing list