Good demo for showing benefits of parallelism

renoX renosky at free.fr
Fri Jan 26 08:46:41 PST 2007


What I find funny, me, is that you're talking about GPUs and at the same time about STM, AFAIK noone has suggested yet to use STM for programs running on GPUs.

That said STM, futurism what about 'normal' data-parallel (array) operations?
IMHO, this is the parallelism which is the easiest for programmers to use, even if its scope is limitated.

renoX

David B. Held Wrote:
> Bill Baxter wrote:
> > [...]
> > Along the same lines, almost any image processing algorithm is in the 
> > same category where the top loop looks like "foreach pixel do ___". This 
> > is a big part of why GPUs just keep getting faster and faster, because 
> > the basic problem is just so inherently parallelizable.
> 
> Yeah, it's funny that people are so impressed with 2, 4, even 32 cores 
> when the nVidia 8800 has 48 pixel pipelines and 128 shaders.  That's 
> also why some people use GPUs as math coprocessors (and why some video 
> cards require a dedicated power supply cord!).
> 
> Speaking of threading and parallelization, when is D going to get 
> Transactional Memory?  Could it steal it from here: 
> http://en.wikipedia.org/wiki/Transactional_memory#Implementations? 
> There's http://libcmt.sourceforge.net/ and 
> https://sourceforge.net/projects/libltx.  Surely something can be kiped?
> 
> Dave




More information about the Digitalmars-d mailing list