연락처 정보
 기간 21 시간

코스 개요

1. Introduction to GPU Programming

  • Introduction to GPU computing and parallel processing.
  • Evolution of GPU architectures and computing technologies.
  • Understanding CPU and GPU processing models.
  • Overview of NVIDIA GPU computing capabilities.
  • Introduction to CUDA and its ecosystem.
  • Applications of GPU computing in scientific and industrial environments.
  • Overview of deep learning, analytics, image processing, and engineering applications.
  • Understanding GPU programming challenges and opportunities.
  • Course objectives and development environment overview.

2. Fundamentals of Heterogeneous Computing

  • Introduction to heterogeneous computing architectures.
  • Understanding CPU-GPU collaboration.
  • Exploring heterogeneous computing models.
  • Host and device execution environments.
  • Understanding data parallelism and task parallelism.
  • Workload distribution between CPUs and GPUs.
  • Managing communication between processing units.
  • Understanding heterogeneous memory architectures.
  • Identifying suitable applications for heterogeneous computing.
  • Practical exercise: Analyzing a CPU-based application for GPU acceleration.

3. Parallel Computing and Its Applications

  • Introduction to parallel computing concepts.
  • Understanding the limitations of sequential processing.
  • Why parallel computing is important.
  • Exploring different types of parallelism.
  • Understanding concurrency and synchronization.
  • Data decomposition and workload distribution.
  • Amdahl's Law and Gustafson's Law.
  • Understanding speedup, scalability, and efficiency.
  • Identifying parallelization opportunities in existing applications.
  • Practical exercise: Comparing sequential and parallel program execution.

4. Multi-Core Processor Architecture and Design

  • Introduction to multi-core processor architectures.
  • Understanding CPU core organization.
  • Exploring cache hierarchies and memory systems.
  • Understanding shared-memory and distributed-memory architectures.
  • Processor pipelines and instruction execution.
  • Memory bandwidth and latency considerations.
  • Comparing multi-core CPUs and GPUs.
  • Understanding hardware-level parallelism.
  • Performance considerations in multi-core applications.

5. Threads and Fundamentals of Parallel Programming

  • Introduction to threads and multithreaded applications.
  • Understanding processes and threads.
  • Thread creation and management.
  • Thread synchronization and coordination.
  • Understanding race conditions and deadlocks.
  • Shared and private data in parallel applications.
  • Introduction to parallel programming patterns.
  • Work distribution and load balancing.
  • Thread safety and synchronization mechanisms.
  • Practical exercise: Developing a multithreaded C application.

6. Fundamentals of GPU Software Optimization

  • Introduction to GPU software optimization.
  • Understanding GPU execution characteristics.
  • Identifying performance bottlenecks.
  • Analyzing computational workloads.
  • Understanding compute-bound and memory-bound applications.
  • Optimizing algorithms for parallel execution.
  • Reducing unnecessary data movement.
  • Improving memory access patterns.
  • Understanding occupancy and resource utilization.
  • Introduction to performance benchmarking.
  • Practical exercise: Evaluating GPU optimization opportunities.

7. OpenMP: Directive-Based Parallel Programming

  • Introduction to OpenMP.
  • Understanding OpenMP architecture and programming model.
  • Configuring OpenMP development environments.
  • Parallelizing C applications using compiler directives.
  • Creating parallel regions.
  • Working with OpenMP threads.
  • Managing shared and private variables.
  • Implementing work-sharing constructs.
  • Using parallel loops and sections.
  • Synchronization and critical sections.
  • Understanding reductions and scheduling strategies.
  • Performance measurement and optimization.
  • Practical exercise: Parallelizing a C application using OpenMP.

8. Hands-On Programming with Multi-Core Processors

  • Setting up a multi-core programming environment.
  • Developing sequential and parallel C applications.
  • Implementing thread-based parallel processing.
  • Using OpenMP to distribute computational workloads.
  • Comparing different parallelization strategies.
  • Measuring execution time and performance improvements.
  • Identifying synchronization overhead.
  • Analyzing CPU utilization and scalability.
  • Practical demonstrations and performance comparisons.

9. Introduction to GPU Computing

  • Understanding GPU architecture and execution models.
  • Comparing CPU and GPU processing capabilities.
  • Exploring GPU parallel computing applications.
  • Understanding GPU hardware components.
  • Introduction to NVIDIA GPU architectures.
  • Understanding streaming multiprocessors.
  • Exploring GPU cores and execution units.
  • Understanding GPU memory hierarchy.
  • GPU computing workloads and application suitability.
  • Practical exercise: Evaluating GPU capabilities and computational workloads.

10. GPUs for Parallel Computing

  • Understanding GPU acceleration principles.
  • Exploring data-parallel computing.
  • Mapping computational workloads to GPU architectures.
  • Understanding GPU execution efficiency.
  • Introduction to GPU kernels.
  • Understanding GPU threads and thread organization.
  • Managing GPU resources.
  • Exploring GPU-based numerical computation.
  • Understanding GPU performance limitations.
  • Practical exercise: Implementing a basic GPU-accelerated computation.

11. GPU Programming Models

  • Overview of GPU programming approaches.
  • Understanding general-purpose GPU computing.
  • Introduction to CUDA and OpenACC.
  • Understanding kernel-based programming.
  • Exploring host and device programming.
  • Managing parallel execution.
  • Understanding thread hierarchies.
  • Exploring blocks, grids, and warps.
  • Synchronization and execution coordination.
  • Comparing GPU programming models.
  • Practical exercise: Implementing a simple parallel GPU program.

12. Hands-On GPU Programming

  • Preparing the GPU development environment.
  • Identifying compatible NVIDIA GPU hardware.
  • Compiling and executing GPU applications.
  • Developing basic GPU kernels.
  • Managing GPU thread execution.
  • Implementing parallel mathematical operations.
  • Comparing CPU and GPU execution.
  • Measuring GPU application performance.
  • Analyzing execution behavior.
  • Practical demonstrations using sample GPU programs.

13. GPU SDK, Toolkit, and Development Environment Setup

  • Introduction to the NVIDIA CUDA Toolkit.
  • Understanding CUDA development components.
  • Installing and configuring CUDA on Linux.
  • Configuring GCC and CUDA compiler integration.
  • Understanding the CUDA compilation process.
  • Using NVIDIA GPU drivers.
  • Exploring CUDA sample applications.
  • Configuring development environments and libraries.
  • Managing CUDA versions and compatibility.
  • Compiling and running CUDA applications.
  • Troubleshooting installation and configuration issues.

14. Working with GPU Computing Libraries

  • Overview of NVIDIA GPU libraries.
  • Introduction to cuBLAS for linear algebra.
  • Working with cuFFT for Fourier transforms.
  • Understanding cuSPARSE for sparse matrix operations.
  • Introduction to cuRAND for random number generation.
  • Exploring NVIDIA performance primitives.
  • Using libraries to accelerate mathematical computations.
  • Integrating CUDA libraries into C applications.
  • Understanding library performance characteristics.
  • Selecting appropriate GPU libraries for different applications.
  • Practical exercise: Accelerating mathematical operations using CUDA libraries.

15. GPU Tools and OpenACC Programming

  • Overview of NVIDIA GPU development and analysis tools.
  • Introduction to OpenACC.
  • Understanding directive-based GPU programming.
  • Configuring OpenACC development environments.
  • Using compiler directives to accelerate applications.
  • Managing data regions and transfers.
  • Parallelizing loops and computational regions.
  • Understanding OpenACC execution models.
  • Comparing OpenACC and CUDA approaches.
  • Exploring GPU development and monitoring tools.
  • Practical exercise: Accelerating a computational application using OpenACC.

16. Understanding the CUDA Programming Model

  • Introduction to the CUDA programming model.
  • Understanding host and device code.
  • Exploring CUDA kernel functions.
  • Understanding thread, block, and grid organization.
  • Working with CUDA execution configurations.
  • Managing kernel launches.
  • Understanding thread indexing.
  • Implementing parallel algorithms using CUDA.
  • Managing execution synchronization.
  • Handling CUDA errors and runtime exceptions.
  • Practical exercise: Developing a CUDA application from scratch.

17. Learning the CUDA Architecture

  • Overview of NVIDIA GPU architecture.
  • Understanding streaming multiprocessors (SMs).
  • Exploring CUDA cores and processing units.
  • Understanding warps and warp scheduling.
  • Exploring GPU instruction execution.
  • Understanding occupancy and resource allocation.
  • Exploring GPU memory architecture.
  • Understanding register allocation.
  • Shared memory and cache organization.
  • Understanding hardware scheduling and execution.
  • Comparing architectural characteristics across GPU generations.

18. Exploring and Setting Up CUDA Development Environments

  • Configuring a Linux-based CUDA development environment.
  • Understanding CUDA project organization.
  • Working with the NVIDIA CUDA compiler (NVCC).
  • Compiling CUDA source files.
  • Linking CUDA applications and libraries.
  • Using command-line development tools.
  • Configuring debugging environments.
  • Working with CUDA sample projects.
  • Understanding compilation and execution errors.
  • Managing development dependencies.
  • Practical exercise: Building and running a CUDA project.

19. Working with the CUDA Runtime API

  • Introduction to the CUDA Runtime API.
  • Understanding CUDA runtime initialization.
  • Managing device selection and properties.
  • Allocating and releasing device memory.
  • Transferring data between host and device.
  • Launching CUDA kernels.
  • Synchronizing device execution.
  • Managing CUDA streams and events.
  • Handling CUDA errors.
  • Understanding runtime API performance considerations.
  • Practical exercise: Developing an application using CUDA Runtime API functions.

20. Understanding the CUDA Memory Model

  • Introduction to the CUDA memory hierarchy.
  • Understanding host and device memory.
  • Exploring global memory.
  • Working with shared memory.
  • Understanding local memory.
  • Exploring constant and texture memory.
  • Understanding registers and memory allocation.
  • Memory access patterns and coalescing.
  • Understanding memory bandwidth and latency.
  • Managing memory synchronization.
  • Choosing appropriate memory types for different workloads.
  • Practical exercise: Comparing different CUDA memory access strategies.

21. Exploring Additional CUDA API Features

  • Overview of advanced CUDA Runtime API functionality.
  • Working with CUDA events.
  • Managing CUDA streams.
  • Using asynchronous memory operations.
  • Understanding pinned host memory.
  • Exploring unified memory.
  • Managing device properties and capabilities.
  • Working with CUDA error handling.
  • Understanding device synchronization.
  • Integrating additional CUDA functionality into applications.
  • Practical exercise: Implementing asynchronous GPU operations.

22. Global Memory Optimization in CUDA

  • Understanding global memory performance.
  • Identifying inefficient memory access patterns.
  • Understanding memory coalescing.
  • Optimizing thread-to-memory access mapping.
  • Improving memory transaction efficiency.
  • Reducing unnecessary global memory operations.
  • Understanding cache behavior.
  • Using appropriate data layouts.
  • Evaluating memory throughput.
  • Measuring the impact of global memory optimization.
  • Practical exercise: Optimizing a CUDA kernel for efficient global memory access.

23. Optimizing Data Transfers Using CUDA Streams

  • Introduction to CUDA streams.
  • Understanding synchronous and asynchronous execution.
  • Managing multiple CUDA streams.
  • Performing asynchronous memory transfers.
  • Overlapping data transfers and kernel execution.
  • Understanding pinned host memory.
  • Managing stream synchronization.
  • Optimizing host-to-device and device-to-host transfers.
  • Identifying opportunities for execution overlap.
  • Measuring data transfer performance.
  • Practical exercise: Implementing asynchronous data transfers using CUDA streams.

24. Using Shared Memory in CUDA

  • Introduction to CUDA shared memory.
  • Understanding shared memory architecture.
  • Allocating static and dynamic shared memory.
  • Managing shared memory within thread blocks.
  • Synchronizing threads using shared memory.
  • Understanding bank conflicts.
  • Optimizing shared memory access patterns.
  • Using shared memory for data reuse.
  • Implementing tiled algorithms.
  • Comparing global and shared memory performance.
  • Practical exercise: Optimizing a matrix computation using shared memory.

25. Atomic Operations and Instructions in CUDA

  • Introduction to atomic operations.
  • Understanding synchronization challenges in parallel programming.
  • Exploring CUDA atomic functions.
  • Implementing atomic updates.
  • Understanding atomic operations on different data types.
  • Managing concurrent memory access.
  • Identifying contention and performance overhead.
  • Using atomic operations in reduction algorithms.
  • Exploring alternative synchronization strategies.
  • Practical exercise: Implementing parallel aggregation using atomic operations.

26. Case Study: Digital Image Processing with CUDA

  • Introduction to GPU-accelerated image processing.
  • Understanding image data representation.
  • Loading and processing image data.
  • Implementing basic image transformation algorithms.
  • Applying grayscale conversion.
  • Performing image filtering and convolution.
  • Implementing edge detection.
  • Managing image data in GPU memory.
  • Optimizing image processing kernels.
  • Comparing CPU and GPU image processing performance.
  • Practical exercise: Developing a CUDA-based image processing application.

27. Multi-GPU Programming

  • Introduction to multi-GPU computing.
  • Understanding multi-GPU architectures.
  • Managing multiple GPU devices.
  • Identifying available GPU resources.
  • Distributing workloads across multiple GPUs.
  • Managing data transfers between devices.
  • Understanding peer-to-peer communication.
  • Exploring NVIDIA NVLink capabilities where supported.
  • Synchronizing execution across devices.
  • Understanding multi-GPU scalability.
  • Identifying communication bottlenecks.
  • Practical exercise: Developing a basic multi-GPU application.

28. Advanced Hardware Profiling and Sampling on NVIDIA GPUs

  • Introduction to GPU performance profiling.
  • Understanding profiling and sampling techniques.
  • Exploring NVIDIA Nsight tools.
  • Using Nsight Systems for application performance analysis.
  • Using Nsight Compute for kernel-level profiling.
  • Understanding GPU performance metrics.
  • Analyzing kernel execution time.
  • Measuring memory throughput and utilization.
  • Identifying execution bottlenecks.
  • Analyzing occupancy and warp efficiency.
  • Understanding profiling reports.
  • Applying optimization techniques based on profiling results.
  • Practical exercise: Profiling and optimizing a CUDA application.

29. CUDA Dynamic Parallelism

  • Introduction to CUDA Dynamic Parallelism.
  • Understanding dynamic kernel execution.
  • Exploring parent and child kernel relationships.
  • Understanding device-side kernel launches.
  • Using CUDA Dynamic Parallelism APIs.
  • Managing execution dependencies.
  • Understanding synchronization requirements.
  • Evaluating performance overhead.
  • Identifying suitable applications for dynamic parallelism.
  • Comparing host-launched and device-launched kernels.
  • Practical exercise: Implementing a CUDA Dynamic Parallelism example.

30. Advanced GPU Performance Optimization

  • Understanding advanced GPU optimization principles.
  • Optimizing kernel launch configurations.
  • Improving thread and block organization.
  • Managing register pressure.
  • Optimizing occupancy and resource utilization.
  • Reducing synchronization overhead.
  • Improving memory access efficiency.
  • Optimizing computational intensity.
  • Understanding instruction throughput.
  • Applying algorithmic optimization techniques.
  • Benchmarking optimized GPU applications.
  • Evaluating performance scalability.

31. GPU Programming Applications and Industry Use Cases

  • GPU acceleration for deep learning workloads.
  • GPU computing for data analytics.
  • Accelerating scientific and engineering simulations.
  • GPU-based numerical computing.
  • Image and video processing applications.
  • Financial and statistical computing.
  • Understanding GPU acceleration in machine learning frameworks.
  • Evaluating GPU application performance.
  • Selecting appropriate GPU architectures for specific workloads.

32. Practical Workshop and Final Project

  • Reviewing GPU programming fundamentals.
  • Selecting a computational problem for GPU acceleration.
  • Designing a parallel processing solution.
  • Developing a CUDA-based application.
  • Implementing optimized memory management.
  • Applying CUDA streams and asynchronous operations.
  • Using shared memory and synchronization techniques.
  • Profiling and analyzing GPU performance.
  • Optimizing the application based on profiling results.
  • Comparing CPU and GPU implementations.
  • Presenting performance measurements and optimization results.

33. Troubleshooting

  • Diagnosing CUDA installation and configuration problems.
  • Troubleshooting CUDA compilation errors.
  • Identifying runtime execution failures.
  • Debugging kernel execution problems.
  • Resolving memory access errors.
  • Investigating synchronization issues.
  • Diagnosing performance bottlenecks.
  • Troubleshooting multi-GPU communication problems.
  • Understanding CUDA compatibility issues.
  • Applying GPU development and debugging best practices.

34. Summary and Conclusion

  • Review of GPU computing fundamentals.
  • Recap of CUDA programming concepts.
  • Review of GPU architecture and memory optimization.
  • Summary of parallel programming techniques.
  • Review of profiling and performance optimization.
  • Discussion of advanced GPU computing applications.
  • Recommended learning resources and further development.
  • Questions and answers.

요건

  • C Programming
  • Linux GCC

참가자 수


참가자별 가격

회원 평가 (1)

예정된 코스

관련 카테고리