Hi, I am looking to develop an LLVM backend for an accelerator architecture. The end goal is the have this backend integrated into LLVM as a accelerator target for OpenMP 4.x for compute intensive code sections. I hoping that someone on the list could point me to some documentation and/or code examples of how this integration is done? Thanks! J -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160504/d407c477/attachment-0001.html>
Hi Jeff, I found the information from https://github.com/clang-omp/OffloadingDesign is useful. For LLVM Backend in general, you may want to have a look at http://llvm.org/docs/CodeGenerator.html Thanks Hongbin On Wed, May 4, 2016 at 9:07 AM, Jeff E via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Hi, > > I am looking to develop an LLVM backend for an accelerator architecture. The > end goal is the have this backend integrated into LLVM as a accelerator > target for OpenMP 4.x for compute intensive code sections. > > I hoping that someone on the list could point me to some documentation > and/or code examples of how this integration is done? > > Thanks! > > J > > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >
Hi J, Please note that OpenMP 4.x offloading implementation in trunk is still under development. It can't compile "hello, world" that executes on a non-host device at the moment. Yours, Andrey ====Software Engineer Intel Compiler Team On Wed, May 4, 2016 at 7:07 PM, Jeff E via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Hi, > > I am looking to develop an LLVM backend for an accelerator architecture. > The end goal is the have this backend integrated into LLVM as a accelerator > target for OpenMP 4.x for compute intensive code sections. > > I hoping that someone on the list could point me to some documentation > and/or code examples of how this integration is done? > > Thanks! > > J > > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160511/ab587425/attachment.html>