msconvert said:
Does anyone else remember last years WWDC? One of the graphics programs was specifically reprogramed to offload the GPU onto the G5 because it was actually faster. (The 3d world generator). Now the card is faster for floating point calculations? What gives? Is the card that much better - Stevo did say in the current WWDC keynote that GPUs are out pacing moores law so maybe I answered my own question. Or they are prepairing for the future if it isn't already here....
Thoughts?
This depends a lot on what the calculation is.
So General purpose CPU's like the G5 tend to be good at 'complex'
algorithms, things that have a lot of logic mixed with the math.
But graphics cards are _amazingly_ fast at doing the same
'simple' operation to many many pixels. They have great access
to memory and generaly have 8-16 little processors that all work
at the same time. But the processors aren't very flexible so if the
algorithm needs 'logic' it tends to get complex/slow/impossible to
do on the GPU.
Core Image is looking to move these simple things to the GPU.
Typically the bottle neck here is bandwidth to the card, so the
image spends more time going from main memory to the card
and back again (assuming it's needed in main memory at the
end of everything) than actually being processed by the card.
I think the card interfaces are speeding up so this isn't as big
a deal.