6 ms·
> When faced with multiple tasks, a CPU allocates its resources to address each task one after the other Ha! I wish CPUs were still that simple. Granted, it i
by Matumio 3y ago
> When faced with multiple tasks, a CPU allocates its resources to address each task one after the other
Ha! I wish CPUs were still that simple.
Granted, it is legitimate for the article to focus on the programming model. But "CPUs execute instructions sequentially" is basically wrong if you talk about performance. (There are pipelines executing instructions in parallel, there is SIMD, and multiple cores can work on the same problem.)
- pclmulqdq 3y agoI think this post focused on the wrong things here. CPUs with AVX-512 also have massive data parallelism, and CPUs can execute many instructions at the same time. The big difference is that CPUs spend a lot of their silicon and power handling control flow to execute one thread efficiently, while GPUs spend that silicon on more compute units and hide control flow and memory latency by executing a lot of threads.
- mhh__ 3y agoIt will do multipleS SIMD instructions at the same time, too.