[Openmp-dev] RFC: Refactor CGOpenMPRuntimeNVPTX into a base class

Jon Chesterfield via Openmp-dev openmp-dev at lists.llvm.org
Fri Apr 17 12:43:17 PDT 2020


Specifically, into CGOpenMPRuntimeGPU with an implementation for nvptx
which behaves identically to today, and an implementation for amdgcn.

The out of tree amdgcn/openmp repo uses branches within nvptx to target
amdgcn. That works but it's not pretty. The base + two implementations
would give us a working openmp front end for amdgcn fairly quickly, as a
stop gap until target regions is ready.

It may also be useful to have tregions and the old codegen simultaneously
available for testing.

This RFC is mostly searching for someone to review a slightly dull NFC to
nvptx which opens the door for a second GPU target. Anyone broadly willing?

Thanks,

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200417/198a5d02/attachment.html>


More information about the Openmp-dev mailing list