|GPU-aware compiling? email@example.com (Tomasz Chmielewski) (2005-05-20)|
|Re: GPU-aware compiling? firstname.lastname@example.org (Michael Tiomkin) (2005-05-22)|
|Re: GPU-aware compiling? email@example.com (Oleg V.Boguslavsky) (2005-05-22)|
|Re: GPU-aware compiling? firstname.lastname@example.org (email@example.com) (2005-05-24)|
|Re: GPU-aware compiling? firstname.lastname@example.org (Rob Dimond) (2005-05-24)|
|Re: GPU-aware compiling? email@example.com (2005-05-24)|
|Re: GPU-aware compiling? firstname.lastname@example.org (Ray Dillinger) (2005-06-26)|
|Re: GPU-aware compiling? email@example.com (Julian Stecklina) (2005-07-02)|
|From:||Rob Dimond <firstname.lastname@example.org>|
|Date:||24 May 2005 10:18:02 -0400|
|Organization:||Department of Computing, Imperial College, London|
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.
Return to the
Search the comp.compilers archives again.