You are on page 1of 30

CS-423 Parallel and Distributed Computing

Lecture 4
GPU Architecture and Programming
Agenda
• GPU
• CPU vs. GPU
• Traditional Workflow
• CUDA
• Thread Hierarchy
• CUDA Memory Hierarchy
• Myths about CUDA
GPU
• Graphics Processing Unit
• Originally designed as a graphics processor

• Nvidia'sGeForce 256 (1999) –first GPU


• single-chip processor for mathematically-intensive tasks
• transforms of vertices and polygons
• lighting
• polygon clipping
• texture mapping
• polygon rendering  3D Model to 2D image (Model: Mathematical Representation of image)
CPU vs GPU

Core: A small CPU or processor built into a big CPU or CPU socket. It can independently perform or process all
computational tasks. A core is considered to be a smaller CPU within a big processor.
CPU vs GPU
CPU vs GPU
Recall:

You might also like