~/talk

GPU development in Python 101

Talkat PyData London 2024 Β· 2024-06-14..06-16Β· [python]
links:none on file
links:none on file
slides:none on file

Claims: Python can write GPU code no C++ required and run it on Colab T4s. Tools actually used: Numba kernels, cuPy, cuDF (the cuDF pandas plugin), Dask with CUDA and NVML/nsight for introspection. Concrete numbers: a Python loop takes ~11 s, a naive GPU dispatch ~0.3 s, explicit device-managed runs drop to tens of ms or even microseconds. Built examples: fizzbuzz kernel, image blur and grayscale kernels; they execute and expose memory/dispatch and interoperability via the CUDA array interface and Dask + CUDA integration.

AI-written summary Β· about

  1. 0:00Welcome to GPU Python
  2. 1:09Setting up environment
  3. 4:02GPU versus CPU computing
  4. 8:32Numba for GPU programming
  5. 13:00First Numba lab
  6. 21:47Numba CUDA kernels
  7. 33:20Optimizing GPU memory
  8. 44:20Break and lab
  9. 50:48Multi-dimensional indexing
  10. 1:01:02Image processing lab
  11. 1:02:25Advanced topics overview
  12. 1:03:51Monitoring GPU performance
  13. 1:11:03GPU library interoperability
  14. 1:24:50CuPy acceleration lab
  15. 1:35:11RAPIDS cuDF intro
  16. 1:50:29Q&A on RAPIDS
  17. 2:02:45Scaling with Dask and multi-GPU
  18. 2:13:51Closing remarks
~/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.