5697

LLVM to PTX Backend

Marco Keller
University of Applied Sciences Rapperswil (HSR), Switzerland
Program Analysis and Transformation seminar, 2011

@article{keller2011llvm,

   title={LLVM to PTX Backend},

   author={Keller, M.},

   year={2011}

}

Download Download (PDF)   View View   Source Source   

995

views

The low-level virtual machine (LLVM) compiler infrastructure is a mature and stable framework to implement optimization and compiler passes. H. Rhodin presented an LLVM backend to generate Parallel Thread Execution (PTX) instructions from LLVM bitcode. PTX is used as intermediate representation for parallel programming. This paper discusses Rhodin’s PTX generator. Due to the similarity between LLVM bitcode and PTX instructions, a straightforward transformation can be done. The requirements of parallel computing show the GPU-depending disparities between LLVM bitcode and PTX instructions. The design of the generator, the disparities and an approach to solve them is showed.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2017 hgpu.org

All rights belong to the respective authors

Contact us: