| |
BGonline.org Forums
time considerations -
Posted By: Frank Berger In Response To: time considerations - (alex99)
Date: Wednesday, 29 August 2012, at 7:22 p.m.
Currently the programming modell is *vastly* different to a CPU. This is not only awful lot of work, but the problem simply doesn't match.
1) E.g. 32 cores share one program counter. If you have a misaligned memory access or a swivth with different outcomes etc. you code will get serialzed and then a CPU is much better.
2) GPU's shine if you move just few data (memory transfer is very expensive) and calculate like mad on the GPU. Matrix multiplication or FFT is an perfect example. The problem is: with a neural net you don't need a matrix multiplication but Matrix-Vector multiplication. Here happens a lot less calculation but it still pays off if you have very large vectors.... unfortunately I (and Xavier and Gnu will be similar) have around 250 to 300 inputs so in fact using a middle class graphic card is slower. At least that was my experience with OpenCL and IIRC it was Xaviers experience with CUDA. Has been posted here sometimes in the past.
ciao
Frank
| |
BGonline.org Forums is maintained by Stick with WebBBS 5.12.