News for hackers. Stuff that matters.
Re:Ryzen Threadripper Pro 3995WX Spotted by imtringued on Friday July 10, 2020 @02:42AM (#23788835)
GPUs can't run the same code you would have written on a CPU. If you had the choice between an equally performing CPU and GPU you would always use the CPU.
Re:Ryzen Threadripper Pro 3995WX Spotted by achempion on Friday July 10, 2020 @03:31AM (#23789079)
Why? Isn't the CPU will cost more than GPU because of more general instruction set?
Re:Ryzen Threadripper Pro 3995WX Spotted by pjc50 on Friday July 10, 2020 @05:57AM (#23789798)
Not really: the CPU costs more and can handle more workloads because it has more complicated control flow.

These days, arithmetic is cheap and control flow is expensive. GPUs and SIMD achieve high throughput by tying a set of arithmetic units together with the same control flow. As soon as you get complicated data-dependent workflows - as soon as you put "if" in your code or a virtual method - the GPU starts getting less efficient.

It's very much a "train vs car" argument: a train can deliver a large number of execution units , provided they're all going to the same place, whereas a car can re-route far more easily.

Re:Ryzen Threadripper Pro 3995WX Spotted by neatze on Friday July 10, 2020 @02:08PM (#23794449)
"train vs car" argument - really nice analogy.
Re:Ryzen Threadripper Pro 3995WX Spotted by jacquesm on Friday July 10, 2020 @04:50AM (#23789484)
On a per-flops basis yes. But it all depends on your workload, for some workloads GPUs are a better match than CPUs and vice-versa.