[LLVMdev] OpenCL backend for LLVM
Villmow, Micah
Micah.Villmow at amd.com
Mon Mar 5 13:07:50 PST 2012
Simon,
Have you looked at the control flow structizer that we have in the Open Source AMDIL backend?
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Simon Moll
> Sent: Monday, March 05, 2012 1:01 PM
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] OpenCL backend for LLVM
>
> Hi,
>
> this is a follow-up on my email from august
> (http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-August/042737.html).
>
> i have, finally, released my OpenCL backend and control-flow
> restructuring framework for LLVM (AST-Extractor, or short axtor). The
> framework restructures function CFGs such that they can be expressed
> entirely without GOTOs or switch/loop-trickery. Hence, making it
> possible to emit source-code for strictly control-flow structured
> languages (OpenCL, GLSL). The code includes a drop-in OpenCL driver
> that
> allows source-to-source OpenCL code transformations on existing OpenCL
> applications.
> The OpenCL backend has been under development for a while now and was
> tested against the NVIDIA, AMD and Rodinia demo/benchmark suites with
> recent NVIDIA/AMD drivers. Results for NVIDIA and AMD show, with few
> exceptions, that the source-to-source-loop does not introduce any
> performance penalty on the generated kernels (known exception: AES on
> recent AMD drivers),
>
> However, kernels with sampler types are currently unsupported and the
> source-to-source-loop may introduce slight imprecisions to floating
> point operations.
>
> The project builds against the current SVN version of LLVM and Clang.
> The GLSL backend has been lacking some attention (still at 2.9) and
> will
> be ported later to LLVM-svn.
>
> To have a look at the source, go to https://bitbucket.org/gnarf/axtor/
> where it is hosted under the GPL license.
>
> Please get back to me, if you have any questions or want to work on the
> code (however, i won't be able to regulary check on my emails before
> April but you will get your reply sooner or later).
>
> Kind regards,
> Simon Moll
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list