Get in Touch
 Duration 8 hours

Course Outline

GPU Computing Fundamentals and CUDA Structure

  • Architectural distinctions between CPUs and GPUs
  • NVIDIA GPU streaming multiprocessor framework
  • Overview of the CUDA execution model
  • Heterogeneous computing and the host-device interaction paradigm

Configuring the CUDA Development Setup

  • Installation of CUDA Toolkit 13.x
  • NVCC compiler operations and build processes
  • Environment validation through device queries
  • Integration with IDEs and auxiliary development utilities

Developing and Executing CUDA Kernels

  • Syntax and modifiers for kernel functions
  • Configuration and execution of kernel launches
  • Vector addition and fundamental data-parallel structures
  • Mechanisms for CUDA error verification

CUDA Thread Structures and Execution Logic

  • Organization of grids, blocks, and threads
  • Thread index calculation and global ID derivation
  • Warp execution mechanics and the SIMT model
  • Occupancy levels and resource efficiency

GPU Memory Framework and Control

  • Memory categories: global, shared, constant, and registers
  • Processes for allocating and releasing device memory
  • Data transfer between host and device
  • Use of shared memory for intra-block coordination

Unified Memory and Data Relocation

  • Unified memory architecture and managed allocation strategies
  • Page migration and on-demand paging mechanisms
  • Asynchronous prefetching via cudaMemPrefetchAsync
  • Memory advisory hints for optimizing access patterns

System-Level Profiling via Nsight Systems

  • Analyzing timelines in Nsight Systems
  • Locating CPU-GPU synchronization points
  • Visualization of kernel execution and data transfer sequences
  • Interpretation of system-wide performance indicators

Kernel Tuning with Nsight Compute

  • Interactive kernel analysis using Nsight Compute
  • Evaluation of memory throughput and bandwidth
  • Assessment of compute usage and warp state metrics
  • Application of guided analysis and optimization rules

Concurrent Streams and Asynchronous Processing

  • Functionality of CUDA streams and the default stream
  • Concurrent execution of kernels and data transfers
  • Stream synchronization techniques and CUDA events
  • Design patterns for multi-stream pipelines

Error Management and Debugging Utilities

  • CUDA API error codes and recovery procedures
  • Memory access verification using compute-sanitizer
  • Kernel debugging with cuda-gdb
  • Use of assertions and synchronous error detection

Profiling-Based Optimization Process

  • Iterative profiling approaches
  • Identification and ranking of bottlenecks
  • Testing for performance regressions
  • Documentation of optimization choices

Complete Accelerated Application Case Study

  • Architecting a fully GPU-accelerated solution
  • Incorporating profiling throughout the development lifecycle
  • Performance benchmarking and result reporting
  • Deployment strategies for production environments

Requirements

  • Proficiency in fundamental C/C++ coding, covering variable types, loops, conditionals, functions, and array operations
  • Experience with command-line program compilation and execution
  • No previous experience with GPU or CUDA programming is necessary

Target Audience

  • Developers and engineers looking to leverage GPUs for accelerating C/C++ applications
  • Scientific researchers and HPC specialists moving from CPU-exclusive to heterogeneous computing environments
  • Technical managers assessing GPU acceleration for live production workloads

Number of participants


Price per participant

Upcoming Courses

Related Categories