Metraipolis › archive › dc_def04f328847
Interactive Debugger for Performance Portable Python HPC Kernels — arXiv:2609.07912
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.07912
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T13:07:18.579Z
- SHA-256 of the archived text
263823c78db9081901514784f7babe1bb3cf44c625f2f86b2021bee15d144725- Stable URL of this page
https://metraipolis.com/documento/dc_def04f328847
How to cite
Interactive Debugger for Performance Portable Python HPC Kernels — arXiv:2609.07912 — arXiv (en), https://arxiv.org/abs/2609.07912 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_def04f328847 (Metraipolis archive dc_def04f328847, sha256 263823c78db9081901514784f7babe1bb3cf44c625f2f86b2021bee15d144725)
BibTeX
@misc{dcdef04f328847,
title = {Interactive Debugger for Performance Portable Python HPC Kernels — arXiv:2609.07912},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.07912},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_def04f328847; sha256 263823c78db9081901514784f7babe1bb3cf44c625f2f86b2021bee15d144725},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07912. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
We propose PKDB, the first interactive debugger for GPU and multithreaded low-level kernels written in Python. Python is widely used in high performance computing (HPC), with frameworks such as PyKokkos translating Python-embedded domain-specific languages to native code that runs across OpenMP-threaded CPUs and various GPUs. Yet interactive debugging support for such code is absent: developers resort to print statements, framework-specific assertions, or CPU-only execution, the last of which requires altering the program or its data and can mask device-specific bugs. PKDB enables standard interactive debugging like breakpoints, stepping, and variable inspection while preserving actual on-device execution without source modification. Beyond these fundamentals, PKDB introduces two advanced capabilities that exploit the dynamic nature of Python and PyKokkos: (i) Live code evaluation, which lets developers execute arbitrary Python expressions or entire kernels in the middle of a paused kernel without restarting the process; (ii) Kernel call site substitution, which allows an actively running kernel to be updated and reloaded on the fly, so only the kernel is recompiled and re-executed without restarting the application. Our performance evaluation on Intel, AMD, and NVIDIA CPUs, and NVIDIA and AMD GPUs shows that PKDB introduces limited overhead and is practical for everyday use while introducing critical debugging features to the Python HPC ecosystem. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-09 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2609.07912 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T13:02:21.588Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).