NCA-AIIO practice question 23 of 25

Which of the following features of GPUs is most crucial for accelerating AI workloads, specifically in the context of deep learning?

Full set: 197 questions
Answer options
A: Large amount of onboard cache memory
B: Ability to execute parallel operations across thousands of cores Correct answer
C: Lower power consumption compared to CPUs
D: High clock speed
Correct Answer:
B. Ability to execute parallel operations across thousands of cores
Explanation

The fundamental reason GPUs excel at accelerating deep learning workloads is their massively parallel architecture. Deep learning computations, particularly matrix multiplications and convolutions, are composed of thousands of independent arithmetic operations. A GPU, with its thousands of specialized cores, is designed to execute these simple, repetitive operations simultaneously (in parallel). This contrasts with a CPU, which has a few powerful cores optimized for sequential task execution. The ability to process vast amounts of data in parallel is the single most crucial feature that dramatically reduces training and inference times for AI models.

Why Incorrect

A. While GPUs have high-bandwidth memory and caches, it is the parallel processing capability, not the cache size itself, that provides the primary performance boost for AI.
C. High-performance GPUs used for AI training are known for their high power consumption, often significantly exceeding that of CPUs.
D. CPUs typically feature higher clock speeds per core than GPUs. The GPU's advantage stems from its vast number of cores, not the speed of any single core.

References

1. NVIDIA CUDA C++ Programming Guide: In Section 1.2

"The GPU

" the document states

"The GPU is especially well-suited to address problems that can be expressed as data-parallel computations... because it is designed as a throughput-oriented architecture with many parallel execution units (or cores)..." This directly supports the principle of massive parallelism being the key feature.

2. Stanford University CS231n Course Notes: The course notes for "Convolutional Neural Networks for Visual Recognition" explain the hardware differences. They state

"GPUs are specialized hardware for highly parallel computation. It turns out that training Neural Networks is a task that can be massively parallelized... Hence

modern Deep Learning is performed on GPUs." This highlights the direct link between the parallel nature of deep learning and GPU architecture. (Reference: CS231n Winter 2023

Module 1

"Hardware

Software

and Training").

3. Peer-Reviewed Publication: Sze

V.

Chen

Y. H.

Yang

T. J.

& Emer

J. S. (2017). "Efficient Processing of Deep Neural Networks: A Tutorial and Survey." Proceedings of the IEEE

105(12)

2295-2329. In Section III-A

the paper explains

"The massive parallelism in DNNs can be exploited by general-purpose processors such as... graphics processing units (GPUs)... GPUs feature a large number of processing cores... to provide high throughput for data-parallel applications." (DOI: https://doi.org/10.1109/JPROC.2017.2761740).

Scroll to Top