CPUs and architecture
What is the main reason GPUs are well suited to matrix operations and AI training and inference?
- ATheir clock frequency is over 100 times that of CPUs
- BThey have many simple arithmetic units and can process large amounts of data in parallel
- CThey have no memory
Show answer and explanation
Answer: B. They have many simple arithmetic units and can process large amounts of data in parallel
GPUs were built to process many screen pixels at once, packing a very large number of simple arithmetic units. Workloads like matrix math that repeat the same computation over huge data sets exploit this parallelism for high performance. GPUs with dedicated matrix units and high-bandwidth memory (such as HBM) are well suited to AI training. CPUs remain better at branch-heavy sequential code.