cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

oscarbarenys1
Adept II

Please open source AMD IL backend for LLVM!

Hi,

I think that now is time for AMD to open source and release LLVM-> AMD IL backend used in OpenCL compiler as right now OpenCL is the only high level language creating AMD IL code for GPUs would be good if AMD can supply some patches for upstream LLVM having an AMD IL backend..

Nvidia own high level language (PTX) support is much better (obviating CUDA (C,Fortran) and OpenCL which generate also PTX code) with at least two open source efforts to bring a LLVM PTX backend..

And even NVIDIA CUDA uses Open64 with a PTX backend which implementation is open source..

ftp://download.nvidia.com/CUDAOpen64 

one LLVM PTX open source backend is here:

http://sourceforge.net/projects/llvmptxbackend/

another is being worked to be final in LLVM 2.9.. see in trunk files like:

http://llvm.org/docs/doxygen/html/PTX_8h_source.html

search for it in google..

There a lots of benefits:

*Possibly bring more languages using LLVM as intermediate code

*Using GPU ocelot which generates LLVM from PTX to run CUDA programs on AMD via PTX->LLVM->AMD IL

etc..

Please AMD workers if not planning to do so post reasonable objections..

Thanks

 

0 Likes
12 Replies

oscar,
This is something we are looking into.
0 Likes

Micah,

Thanks for your fast response..

It brings hope you go affirmative with this important one thing!

Thanks,

Oscar.

0 Likes

+1

 

Open sourcing the components behind OpenCL would be really nice. I think AMD is making important steps towards the open source software, and releasing the LLVM -> AMD IL backend would be another big move in that direction.

0 Likes

+1

0 Likes

+1

0 Likes

+1

0 Likes

+1

0 Likes

+1

0 Likes

+1

0 Likes

To open it will just give you benefits: bug detection, external projects being more interestered in your tech, etc... And it won't really affect your IP.

Another +1 here.

0 Likes

+1

0 Likes

+1

0 Likes