Re: GPU-aware compiling?

Rob Dimond <rgd00@doc.ic.ac.uk>
24 May 2005 10:18:02 -0400

          From comp.compilers

Related articles
GPU-aware compiling? mangoo@interia.pl (Tomasz Chmielewski) (2005-05-20)
Re: GPU-aware compiling? tmk@netvision.net.il (Michael Tiomkin) (2005-05-22)
Re: GPU-aware compiling? schummi@i.com.ua (Oleg V.Boguslavsky) (2005-05-22)
Re: GPU-aware compiling? scooter.phd@gmail.com (scooter.phd@gmail.com) (2005-05-24)
Re: GPU-aware compiling? rgd00@doc.ic.ac.uk (Rob Dimond) (2005-05-24)
Re: GPU-aware compiling? hannah@schlund.de (2005-05-24)
Re: GPU-aware compiling? bear@sonic.net (Ray Dillinger) (2005-06-26)
Re: GPU-aware compiling? der_julian@web.de (Julian Stecklina) (2005-07-02)
| List of all articles for this month |
From: Rob Dimond <rgd00@doc.ic.ac.uk>
Newsgroups: comp.compilers
Date: 24 May 2005 10:18:02 -0400
Organization: Department of Computing, Imperial College, London
References: 05-05-184
Keywords: architecture
Posted-Date: 24 May 2005 10:18:02 EDT

Tomasz Chmielewski wrote:


> Like now we have compiler options like "-mmmx -msse -msse2 -msse3 >
-m3dnow" - would it be possible to optimize the code of the binary to
> use the GPU with "-with-nvidia-gpu" or "-with-ati-gpu"?


Modern GPU's are SIMD processors that execute the same program on
multiple data-elements (e.g. vertices or pixels) in parallel.


Restructuring compilers are able to extract such parallelism from loop
nests by dependence analysis (determining which loop interations are
independent) and loop transformations (re-ordering iterations while
preserving the program operation). In addition, you would need to
partition the code between CPU and GPU and handle communication of
data between the two.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.