Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Duration 8 hours
Course Outline
GPU Computing and CUDA Architecture
- Differences between CPU and GPU architectures
- NVIDIA GPU streaming multiprocessor model
- Overview of the CUDA programming model
- Heterogeneous computing and the host-device paradigm
Configuring the CUDA Development Environment
- Installing CUDA Toolkit 13.x
- NVCC compiler and build workflow
- Validating the environment through device queries
- IDE integration and development utilities
Creating and Launching CUDA Kernels
- Kernel function syntax and qualifiers
- Launch configuration and execution
- Vector addition and basic data-parallel patterns
- CUDA error checking macros
CUDA Thread Hierarchy and Execution Model
- Grid, block, and thread organization
- Thread indexing and global ID calculation
- Warp execution and the SIMT model
- Occupancy and resource utilization
GPU Memory Architecture and Management
- Memory types: global, shared, constant, and registers
- Allocating and releasing device memory
- Host-to-device and device-to-host data transfers
- Shared memory for intra-block collaboration
Unified Memory and Data Migration
- Unified memory model and managed allocations
- Page migration and on-demand paging
- Asynchronous prefetching using cudaMemPrefetchAsync
- Memory advice hints for optimizing access patterns
System-Wide Profiling with Nsight Systems
- Timeline analysis in Nsight Systems
- Identifying CPU-GPU synchronization points
- Visualizing kernel execution and memory transfers
- Interpreting system-level performance metrics
Kernel Optimization with Nsight Compute
- Interactive kernel profiling with Nsight Compute
- Memory throughput and bandwidth analysis
- Compute utilization and warp state statistics
- Guided analysis and optimization rules
Concurrent Streams and Asynchronous Operations
- CUDA streams and the default stream
- Overlapping kernel execution with data transfers
- Stream synchronization and CUDA events
- Multi-stream pipeline design patterns
Error Handling and Debugging Tools
- CUDA API error codes and recovery strategies
- Compute-sanitizer for memory access validation
- cuda-gdb for kernel debugging
- Assertions and synchronous error detection
Profile-Driven Optimization Workflow
- Iterative profiling methodology
- Identifying and prioritizing bottlenecks
- Performance regression testing
- Documenting optimization decisions
End-to-End Accelerated Application Project
- Designing a comprehensive GPU-accelerated solution
- Integrating profiling throughout the development lifecycle
- Performance benchmarking and reporting
- Deployment considerations for production environments
Requirements
- Proficiency in basic C/C++ programming, covering variable types, loops, conditional statements, functions, and array manipulations
- Experience compiling and running programs via the command line
- No previous experience with GPU or CUDA programming is necessary
Audience
- Software developers and engineers aiming to accelerate C/C++ applications using GPUs
- Scientific researchers and HPC practitioners moving from CPU-only to heterogeneous computing
- Technical leaders assessing GPU acceleration for production workloads