What kind of CPU/GPU integration is offered by APUs?

1

I'm truly fascinated by the idea of GPGPU and using the GPU for heavy processing. I'm seeing that also APUs (Accelerated Processing Units, CPU+GPU on the same chip) are gaining a consistent popularity.

Are all of the APUs using a GPGPU? Can it be used for processing? And is it seamless or it requires special code (like Cuda) to have the hard work made by the GPU?

I'm not interested in bare graphic performance, but more about how much the GPU can accelerate the "normal" CPU work.

clabacchio

Posted 2012-06-11T09:27:05.797

Reputation: 424

If the GPU could accelerate normal CPU work, then it would be considered part of the CPU part of the APU, not the GPU. – David Schwartz – 2012-06-11T09:29:28.743

@DavidSchwartz: and how do you compare this to GPGPUs? "Normal" is not intended in the strict sense, but to mean computation not specific to graphics. Like matrices computation, for instance – clabacchio – 2012-06-11T09:33:15.660

Answers

2

How much a GPU can accellerate depends on the code you run. GPUs are extremely good in running simple, massively paralel instructions. Programs which can use that can gain a massive performace boost. Code which is single treaded or complex will fair quite poorly.

Hennes

Posted 2012-06-11T09:27:05.797

Reputation: 60 739

I understand that, but will any code run on the GPU as well or only specifically optimized software? – clabacchio – 2012-06-11T09:59:03.840

If CPU code runs on it, then it's part of the CPU. The boundary between the CPU and the GPU is defined this way. – David Schwartz – 2012-06-11T10:09:56.353

@clabacchio In case of AMD Fusion, APU is simply CPU + GPU on one chip, and to use GPU's power, you need GPGPU-aware software (written with e.g. OpenCL). – aland – 2012-08-06T21:55:01.653