~/talk

GPU Programming in Pure Python

Talkat PyCon US 2025 · 2025-05-16..05-18· [python, machine-learning]
slides:none on file

Claim is that you can write GPU kernels in pure Python and get performance parity with CUDA C++ using the CUDA Python object model plus Numba CUDA and the CUDA Core Libraries. Examples include an efficient copy, tiled matrix transpose, and batched softmax that run JIT and use shared memory, register batching, and memory coalescing for bandwidth. The talk demos integrating cuBLAS and cuDNN, shows using Cub cooperative primitives, and explains when library calls beat custom kernels.

AI-written summary · about

  1. 0:00Introduction to parallelism
  2. 2:01GPU architecture and strategy
  3. 5:24Numba and GPU kernel basics
  4. 8:09Writing a basic copy kernel
  5. 12:21Optimizing memory access
  6. 18:06GPU memory types
  7. 20:12Cooperative primitives
  8. 26:43Advanced kernel implementation
  9. 33:47Key takeaways and resources
  10. 40:46Q&A and future directions
~/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.