[llvm-dev] Automatic GPU Code Generation
Madhur Amilkanthwar via llvm-dev
llvm-dev at lists.llvm.org
Mon Dec 10 23:18:53 PST 2018
You can skip CUDA code generation and target PTX assembly. PTX is a common
assembly language for NVIDIA's GPU. You may want to look at PPCG, Pluto
projects to get a hint of how automatic CUDA code can be generated by
compilers. They are based on polyhedral model so come with some inherent
On Tue, Dec 11, 2018, 12:07 PM hameeza ahmed via llvm-dev <
llvm-dev at lists.llvm.org wrote:
> I need to ask, like automatic compiler vectorization, can GPU ISA be
> generated automatically, by skipping the CUDA programming?
> For instance if i just write C code there can be 2 possibilities, semi and
> full automatic.
> In case of semi, we can write #pragma directives to say this should be run
> on gpu. hence can the compiler generates directly gpu ISA, skipping CUDA
> In case of fully automatic, can we just write simple C code and compiler
> is intelligent enough to determine which portion is suitable for GPU and
> generates GPU ISA accordingly?
> I need to know the progress made so far in both the above mentioned
> Thank You
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev