z-logo
open-access-imgOpen Access
PyStream: Compiling Python onto the GPU
Author(s) -
Nicholas J. Bray
Publication year - 2011
Publication title -
proceedings of the python in science conferences
Language(s) - English
Resource type - Conference proceedings
ISSN - 2575-9752
DOI - 10.25080/majora-ebaa42b7-00e
Subject(s) - computer science , python (programming language) , rendering (computer graphics) , compiler , parallel computing , graphics , general purpose computing on graphics processing units , computer graphics (images) , graphics processing unit , programming language , central processing unit , operating system
PyStream is a static compiler that can radically transform Python code and run it on a Graphics Processing Unit (GPU). Python compiled to run on the GPU is ~100,000x faster than when interpreted on the CPU. The PyStream compiler is specially designed to simplify the development of realtime rendering systems by allowing the entire rendering system to be written in a single, highly productive language. Without PyStream, GPU-accelerated real-time rendering systems must contain two separate code bases written in two separate languages: one for the CPU and one for the GPU. Functions and data structures are not shared between the code bases, and any common functionality must be redundantly written in both languages. PyStream unifies a rendering system into a single, Python code base, allowing functions and data structures to be transparently shared between the CPU and the GPU. A single, unified code base makes it easy to create, maintain, and evolve a highperformance GPU-accelerated application.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom