2 ms·
They're different but the differences are quite complex. CPUs can be faster for RAM bandwidth-bound code, if there's not that much data and it fits in caches a
by Const-me 8y ago
They're different but the differences are quite complex.
CPUs can be faster for RAM bandwidth-bound code, if there's not that much data and it fits in caches at least L3, CPU cache bandwidth is very good.
GPUs can be faster for heavily conditioned code. If it's the condition on RAM value, a CPU will stall or mispredict branches, both slow, a GPU will switch to another hardware thread which is very fast.
Despite these differences, I find flops quite useful in practice to compare performance of different computers across architectures of generations. Computers compute, flops measure how fast they do.