Composition Was The Real Test: A General-Purpose CPython 3.14 Bytecode Interpreter Running Entirely Inside GPU Compute Kernels, via Raw OpenCL, on a 2017 Consumer GPU | Zenodo
Skip to main
You are using an outdated browser. Please upgrade your browser to improve your experience.
Published July 18, 2026
| Version 1.0.0
Software
Open
Composition Was The Real Test: A General-Purpose CPython 3.14 Bytecode Interpreter Running Entirely Inside GPU Compute Kernels, via Raw OpenCL, on a 2017 Consumer GPU
Authors/Creators
Xaiver Collins<br>(Researcher)1
Show affiliations
1.
Ivy Tech Community College of Indiana
Description
A CPython 3.14 bytecode interpreter implemented entirely in OpenCL, executing real compiled bytecode across 2304 parallel GPU threads on an AMD Radeon RX 480. Handles closures, generators, classes, real exception dispatch via co_exceptiontable, and recursion, with correctness verified across 26 test programs (59,904/59,904 individual thread results correct). Includes the interpreter source (composed_python_gpu.c) and the accompanying paper describing the architecture, a real bug found during composition testing (closure + generator + class interacting), and its fix. No performance claim is made this is a correctness and composition proof.
Files
paper2_final.pdf
Files<br>(489.8 kB)
Name<br>Size
Download all
composed_python_gpu.c
md5:0b4b5464211b5b3862777ee63e131e5e
47.2 kB
Download
paper2_final.pdf
md5:d376f1c0173bb5fc518588ff29e39759
442.6 kB
Preview
Download
Additional details
Dates
Created
2026-07-17
Software
Programming language
Development Status
Inactive
Views
Downloads
Show more details
All versions<br>This version
Views
Total views
Downloads
Total downloads
Data volume
Total data volume
0 Bytes<br>0 Bytes
More info on how stats are collected....
Versions
External resources
Indexed in
OpenAIRE
Communities
Keywords and subjects
Keywords
GPU
GPU COMPUTING
OpenCL
bytecode interpreter
CPython
parallel computing
Details
DOI
DOI Badge
DOI
10.5281/zenodo.21421984
Markdown
[](https://doi.org/10.5281/zenodo.21421984)
reStructuredText
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.21421984.svg<br>:target: https://doi.org/10.5281/zenodo.21421984
HTML
Image URL
https://zenodo.org/badge/DOI/10.5281/zenodo.21421984.svg
Target URL
https://doi.org/10.5281/zenodo.21421984
Resource type<br>Software
Publisher<br>Zenodo
Rights
License
Creative Commons Attribution 4.0 International
The Creative Commons Attribution license allows re-distribution and re-use of a licensed work on the condition that the creator is appropriately credited.
Read more
Citation
Export
Technical metadata
Created
July 18, 2026
Modified
July 18, 2026
Jump up
This site uses cookies. Find out more on how we use cookies
Accept all cookies<br>Accept only essential cookies