Skip to content
0:00 / 0:00

#llvm#ptx#cuda

PTX Back-End: GPU Programming With LLVM

LLVMProject

669 subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 1 in engineering communities and 1 curated list.
  • Presented by Justin Holewinski
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Advanced. Deep dive for people who know the field.

5.6K views14 years ago2 recommendations

Systems programmingGraphics and audioCompilers and interpretersGPUs, shaders and CUDA

Justin Holewinski discusses the design, implementation, and challenges of the LLVM PTX back-end for NVIDIA GPUs.

In this talk, the PTX back-end for LLVM will be discussed, including its' past, present, and future. The current status of the back-end will be explored, with an emphasis on the portions of the LLVM IR instruction set and PTX intrinsics that are currently supported during code generation. This talk will also highlight the difficulties and issues that have been discovered while writing an LLVM back-end for a virtual ISA such as PTX, such as infinite register files. Through-out the talk, examples will be provided to highlight key features of the back-end and show preliminary performance data. In addition to back-end details, this talk will also highlight the use of Clang as a front-end for generating PTX code for NVIDIA GPUs. Through the use of Clang and the CUDA Driver API, GPGPU programs can be developed that harness the optimization power of the LLVM compiler infrastructure. Finally, the talk will conclude with an exploration of the open issues that remain in the backend, and a discussion on how the back-end can be used within larger GPGPU compiler projects.

Why it's here

2 people recommend this

What people say. Recommended as a deep dive into compiler back-ends for GPU architectures.

u/cypherx(λx.x x) (λx.x x)in r/compsci • Recommends

PTX Back-End: GPU Programming With LLVM link to this video

programming-talkscurated list on GitHubRecommends

Under “Compilers/Interpreters”

PTX Back-End: GPU Programming With LLVM 00:39:34 by **Justin Holewinski** (2011)