~/talk

Bringing Clang and C++ to GPUs: An Open-Source, CUDA-Compatible GPU C++ Compiler

Talkat CppCon 2016 · 2016-09-18..09-23· [compilers-and-language-design]
links:none on file
slides:none on file

Clang now compiles CUDA C++ into a CUDA‑compatible toolchain emitting PTX that the driver turns into SASS, and the talk demonstrates concrete GPU code: a full‑reduction kernel where each warp=32 SIMD lanes thread sums four strided elements with ldg loads, uses shuffle down intrinsics to do horizontal adds, writes per‑block results into shared memory and finishes with atomic adds. Hardware/ISA tradeoffs appear: register use vs occupancy, PTX assembler reconvergence for divergent branches, and LLVM passes (64→32 divide, load‑store widening) give real 2x speedups.

AI-written summary · about

  1. 0:00Introduction and thesis
  2. 1:04GPU hardware model overview
  3. 10:45Thread hierarchy in GPUs
  4. 24:02Writing a reduction kernel in CUDA
  5. 41:19Why CUDA is a low-level language
  6. 43:04Compiling CUDA with Clang and LLVM
  7. 50:10Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.