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