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
- Distinguishing between CPU and GPU architectural designs
- The NVIDIA GPU streaming multiprocessor model
- An overview of the CUDA programming model
- Heterogeneous computing and the host-device interaction paradigm
Configuring the CUDA Development Environment
- Installing the CUDA Toolkit 13.x
- Utilizing the NVCC compiler and establishing a build workflow
- Validating the setup through device queries
- Integrating with IDEs and leveraging development tools
Developing and Executing CUDA Kernels
- Kernel function syntax and necessary qualifiers
- Configuring and managing kernel execution
- Implementing vector addition and basic data-parallel patterns
- Using CUDA error checking macros
CUDA Thread Hierarchy and Execution Model
- Organizing grids, blocks, and threads
- Calculating thread indices and global IDs
- Warp execution and the SIMT model
- Managing occupancy and resource utilization
GPU Memory Architecture and Management
- Understanding memory types: global, shared, constant, and registers
- Allocating and releasing device memory
- Handling host-to-device and device-to-host data transfers
- Leveraging shared memory for intra-block coordination
Unified Memory and Data Migration
- The unified memory model and managed memory allocations
- Page migration mechanisms and on-demand paging
- Asynchronous prefetching using cudaMemPrefetchAsync
- Using memory advice hints to optimize access patterns
System-Wide Profiling with Nsight Systems
- Analyzing timelines in Nsight Systems
- Detecting CPU-GPU synchronization points
- Visualizing kernel execution and memory transfer activities
- Interpreting system-level performance metrics
Optimizing Kernels with Nsight Compute
- Performing interactive kernel profiling in Nsight Compute
- Analyzing memory throughput and bandwidth
- Evaluating compute utilization and warp state statistics
- Following guided analysis and optimization rules
Concurrent Streams and Asynchronous Operations
- Understanding CUDA streams and the default stream
- Overlapping kernel execution with data transfers
- Managing stream synchronization and CUDA events
- Designing multi-stream pipeline patterns
Error Handling and Debugging Tools
- Navigating CUDA API error codes and recovery methods
- Using Compute-sanitizer to check memory access
- Debugging kernels with cuda-gdb
- Implementing assertions and synchronous error detection
Profile-Driven Optimization Workflow
- Applying an iterative profiling methodology
- Identifying and prioritizing performance bottlenecks
- Conducting performance regression testing
- Documenting optimization decisions
End-to-End Accelerated Application Project
- Designing a comprehensive GPU-accelerated solution
- Incorporating profiling throughout the development lifecycle
- Performing performance benchmarking and reporting
- Considering deployment strategies for production environments
Requirements
- Foundational proficiency in C/C++ programming, covering variable types, loops, conditional logic, functions, and array handling
- Experience with compiling and executing programs via the command line
- No previous experience in GPU or CUDA programming is necessary
Target Audience
- Software developers and engineers looking to enhance C/C++ application performance using GPUs
- Scientific researchers and HPC professionals making the shift from CPU-centric to heterogeneous computing
- Technical leaders assessing the viability of GPU acceleration for production environments
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
- Flexible Schedule: Dates and times adapted to your team's agenda.
- Format: Online (live), In-company (at your offices), or Hybrid.
Price per private group, online live training, starting from 2900 € + VAT*
Contact us for an exact quote and to hear our latest promotions