Replies: 2 comments 3 replies
-
|
Thanks, an interesting read.
See also : https://github.com/jndean/gpusnek |
Beta Was this translation helpful? Give feedback.
-
|
The version of the paper submitted to SIGBOVIK is missing the performance profiling section (because I fell ill just before the submission deadline and couldn't get it finished). You can read the finished version here: https://josefdean.co.uk/gpusnek.pdf. The profiling shows what a phenomenally bad idea it is to run Python on a GPU (or ar least to do a naive port in this way) if performance is in any way important :) . But, to your point @jepler, I don't recall the changes required for C++ compatibility in the core being particularly invasive, just small tweaks repeated in a lot of places. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm just reading the proceedings of SIGBOVIK 2026 and I arrived at @jndean's paper "GPU-Parallelizing Arbitrary Python Code By Running 1 Million Python Interpreters on a GPU". Looks inside -> It's MicroPython, but ported to build with the CUDA C++ compiler.
Besides being a very interesting feat to run MicroPython on a GPU, it's somewhat interesting that the author fixed all the little poblems that exist in the core when you try to build it with a C++ compiler instead of a C compiler. This is something I'd started on but quickly noped out about.
I wonder what the trade-offs were, and whether there's interest & utility in bringing the C++ portability changes into the core.
Beta Was this translation helpful? Give feedback.
All reactions