{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lec02-gpu_history_and_cuda_programming_basics

lec02-gpu_history_and_cuda_programming_basics - GPU...

Info icon This preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon
GPU Programming Lecture 2: GPU History & CUDA Lecture 2: GPU History & CUDA Programming Basics
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Outline of CUDA Basics Basic Kernels and Execution on GPU Basic Memory Management Coordinating CPU and GPU Execution See the Programming Guide for the full API
Image of page 2
BASIC KERNELS AND BASIC KERNELS AND EXECUTION ON GPU
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CUDA Programming Model Parallel code (kernel) is launched and Parallel code (kernel) is launched and executed on a device by many threads Launches are hierarchical Threads are grouped into blocks Blocks are grouped into grids Familiar serial code is written for a thread Each thread is free to execute a unique code path Built-in thread and block ID variables
Image of page 4