Good demo for showing benefits of parallelism

David B. Held dheld at codelogicconsulting.com
Fri Jan 26 01:39:51 PST 2007


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