arrow
Return

Unlocking Python Multithreading Capabilities using OpenMP-Based Programming with OMP4Py

delete2026-01-01
delete0
PRE
AI
C
César Piñeiro *
J
Juan C. Pichel
DOI:10.1109/CGO68049.2026.11395224delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Python exhibits inferior performance relative to traditional high performance computing (HPC) languages such as C, C++, and Fortran. This performance gap is largely due to Python's interpreted nature and the Global Interpreter Lock (GIL), which restricts multithreading efficiency. However, the introduction of a GIL-free variant in the Python interpreter opens the door to more effective exploitation of multithreading parallelism in Python. Based on this important new feature, we introduce OMP4Py with the aim of bringing OpenMP's familiar directive-based parallelization paradigm to Python. Its dual-runtime architecture design combines the benefits of a pure Python implementation with the performance and low-level capabilities required to maximize efficiency in compute-intensive tasks. In this way, OMP4Py offers both full Python support and the high performance required by HPC workloads.
Keywords:
OpenMP
Python
Multithreading
Performance
Scalability

Journal

2
2026 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, CGO
IF:
0
Papers:
48
Citations:
0

Organization

U
Universidade de Santiago de Compostela
Scholars:
1.5W
Papers: 1.3W
Citations: 1.4W
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
errShare
errSave
Numba
err2015-11-15
err0
PREAI
errSiu Kwan Lam; Antoine Pitrou; Stanley Seibert
errShare
errSave
PyOMP: Multithreaded Parallel Programming in Python
err2021-11-01
err0
errOAAI
errTimothy G. Mattson; Todd A. Anderson; Giorgis Georgakoudis
errShare
errSave
Cython: The Best of Both Worlds
err2011-03-01
err0
errOAAI
errStefan Behnel; Robert Bradshaw; Craig Citro; Lisandro Dalcin; Dag Sverre Seljebotn; Kurt Smith
errShare
errSave
errShare
errSave
PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation
err2024-04-27
err0
PREAI
errJason Ansel; Edward Yang; Horace He; Natalia Gimelshein; Animesh Jain; Michael Voznesensky; Bin Bao; Peter Bell; David Berard; Evgeni Burovski; Geeta Chauhan; Anjali Chourdia; Will Constable; Alban Desmaison; Zachary DeVito; Elias Ellison; Will Feng; Jiong Gong; Michael Gschwind; Brian Hirsh; Sherlock Huang; Kshiteej Kalambarkar; Laurent Kirsch; Michael Lazos; Mario Lezcano; Yanbo Liang; Jason Liang; Yinghai Lu; C. K. Luk; Bert Maher; Yunjie Pan; Christian Puhrsch; Matthias Reso; Mark Saroufim; Marcos Yukio Siraichi; Helen Suk; Shunting Zhang; Michael Suo; Phil Tillet; Xu Zhao; Eikan Wang; Keren Zhou; Richard Zou; Xiaodong Wang; Ajit Mathews; William Wen; Gregory Chanan; Peng Wu; Soumith Chintala
errShare
errSave
Pythran: enabling static optimization of scientific Python programs
err2015-03-16
err0
errOAAI
errSerge Guelton; Pierrick Brunet; Mehdi Amini; Adrien Merlini; Xavier Corbillon; Alan Raynaud
errShare
errSave
researcher View more