Title: GPU. Lesson 2. GPU Architecture and Parallel Processing
Title: GPU. Lesson 2. GPU Architecture and Parallel Processing
GPUs feature a massive array of cores for parallel processing.
A GPU core handles a single computational thread in parallel.
Thread refers to a sequence of instructions executed by cores.
A warp, in GPU terms, is a group of threads.
SM, or Streaming Multiprocessor, manages warps within GPU architecture.
Memory hierarchy includes registers, shared memory, and global memory.
Registers are small storage units within each GPU core.
Shared memory allows fast data sharing among threads in SMs.
Global memory connects to all cores, storing large data sets.
Latency, the delay in data access, affects GPU efficiency.
Technical Examples:
Warps and Threads: A warp consists of 32 threads in NVIDIA GPUs, executing together for efficiency.
Streaming Multiprocessor (SM): Each SM allocates resources to manage multiple warps concurrently.
Memory Hierarchy: Registers hold immediate data, shared memory aids thread collaboration, and global memory stores bulk data.