~/talk

GPU development with Python 101

Talkat PyData Global 2024 · 2024-12-03..12-05· [machine-learning]
links:none on file
links:none on file
slides:none on file

Claim: Python can run real CUDA without C++; tools used are numba CUDA kernels and cuDF/pandas plugin on NVIDIA’s DLI/Jupyter environment. Concrete results: a 30 million-element demo goes from ~8 s in pure Python to 30 million → 173 ms → 36 μs when memory stays on the GPU. Built kernels: elementwise double, a multi-pass image blur and a grayscale kernel (they work, but require bounds guards to avoid out‑of‑bounds artifacts). Takeaway: copy once, compute a lot, reuse device memory.

AI-written summary · about

  1. 0:00GPU development in Python
  2. 15:26CPU versus GPU fundamentals
  3. 23:39First GPU kernel with Numba CUDA
  4. 55:20Image processing with GPU kernels
  5. 1:22:47Next steps and resources
~/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.