News for hackers. Stuff that matters.
Re:Intel i7 loop performance anomaly by seanmcdirmid on Tuesday December 03, 2013 @09:44PM (#6844659)
Edit: I meant to say "GPUs are not only in order", they are definitely not out of order.
Re:Intel i7 loop performance anomaly by m_mueller on Wednesday December 04, 2013 @02:21AM (#6845510)
Coherent branching is also important on CPU to make use of your vector units, on GPU the payoff is just much higher. Furthermore you never have to do silly things like loop unrolling for vector unit optimization since you write all kernels as if they were executed scalar. Once coherent branching is not possible anymore you're usually dealing with random access over your data - even then the higher random access memory bandwidth can get you a speedup over one CPU socket, compared to dual socket you're about even.

Bottom line is you just have to think about GPUs in a slightly different way - they do have disadvantages (limited register/cache/memory per thread since you need so many of them), but things like branching aren't that big of a deal.