gpgpu speed gain estimates

skmadan84

Reputable
May 28, 2014
1
0
4,510
Hi!
I am a complete beginner to gpgpu and opencl. I am unable to answer the following two questions about GPGPU in general,

a) Suppose I have a piece of code suitable to be run on a gpu (executes the exact same set of instructions on multiple data). *Assume* I already have my data on the gpu. Is there any way to look at the specifications of the cpu and gpu, and estimate the potential speed gains? For example, what would be the speed gains if I ran the piece of code on AMDs R9 295X2 gpu (http://www.amd.com/en-us/products/graphics/desktop/r9/295x2#) or NVIDIA's GTX Titan z (http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-titan-z/specifications) instead of intel i7-4770K processor (http://ark.intel.com/products/75123)

b) Is there any way to estimate the amount of time it would take to transfer data to the gpu?


Thank you!
 

Jak Atackka

Honorable
May 15, 2012
118
0
10,710
I admit I am not terribly familiar with GPGPU, but I am familiar with hardware.

a) It depends entirely on the program being run. Stream processors, shaders, clock speed, memory, and memory speed are going to be the largest factors. If it's more memory intensive, memory and memory speed will be more important, and so on. In some applications the two cards would be equal, but the GTX Titan Z is a modified workstation card whereas an R9 295x2 is a gaming card, so overall the Titan Z will be better. Assuming the program is coded well, you'll see very significant gains by using the GPU instead of the CPU.

B) The bottleneck will most likely be the hard drive or other device you're transferring data from, or the GPU's ability to process the data. PCIe is very fast, especially if it's PCIe 3.0 running at 8x or 16x, so the motherboard will not be a limitation.
 

TRENDING THREADS