An Introduction to Writing Fast GPU Code in Python - Abhik Sarkar @EuroPythonConference
An Introduction to Writing Fast GPU Code in Python - Abhik Sarkar  @EuroPythonConference
Uploaded August 2026 | Updated September 2026, 2 weeks ago
[EuroPython 2026 - S3A on 2026-07-16]
๐ŸŽค *An Introduction to Writing Fast GPU Code in Python by Abhik Sarkar*
๐Ÿ”— https://ep2026.europython.eu/session/an-introduction-to-writing-fast-gpu-code-in-python

๐Ÿ“ Abstract:
GPUs power almost every modern Python workload in machine learning, vision, and scientific computing. Yet most Python developers treat GPUs like โ€œfaster CPUsโ€ and hope frameworks will handle performance automatically.
That mental model is wrong and it is the main reason Python GPU code underperforms by orders of magnitude.

This introductory talk builds the correct mental model for writing fast GPU code in Python. We will explore how modern GPUs are structured, why global memory dominates execution time, and how to determine whether a kernel is compute-bound or memory-bound using the roofline model. Through concrete examples, attendees will see why naive parallel kernels fail to scale and which hardware-aware patterns; tiling, data reuse, and kernel fusion actually lead to speedups.

The session concludes with a practical look at how Python can express these ideas using Triton, showing how high-level code is compiled into PTX and how Python can approach near-CUDA performance when it respects hardware constraints.

---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: creativecommons.org/licenses/by-nc-sa/4.0
An Introduction to Writing Fast GPU Code in Python - Abhik SarkarAnatomy of a Phishing Campaign - Mike FiedlerEuroPython 2026 - Sprint Orientation ๐Ÿƒ
EuroPython Conference |

An Introduction to Writing Fast GPU Code in Python - Abhik Sarkar

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER