PyGPU – write software for the GPU in Python


The dedicated video hardware in most modern PCs can perform a number of algorithms at blazingly fast speeds, particularly those involving large matrix or vector operations. PyGPU allows you to access this computational power from a familar high-level language.

Haven’t you ever dreamt of writing code in a very high level language and have that code execute at speeds rivaling that of lower-level languages? PyGPU is a compiler that lets you write image processing programs in Python that execute on the graphics processing unit (GPU) present in modern graphics cards. This enables image processing algorithms to take advantage of the performance of the GPU. In some applications, performance increases approach an order of magnitude, compared to CPUs.

There are a number of applications for this. What immediately came to mind, though, is that using the GIMP-Python package, this might be an easy way to add accelerated image processing plugins to GIMP.

PyGPU – Python for the GPU – Link
PyGPU: A high-level language for high-speed image
processing (PDF) – Link

Discuss this article with the rest of the community on our Discord server!


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).