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 28 hours
Course Outline
Introduction
- Overview of GPU programming.
- Rationale for adopting GPU programming.
- Challenges and trade-offs inherent in GPU programming.
- Available frameworks for GPU programming.
- Criteria for selecting the appropriate framework for specific applications.
OpenCL
- Definition and scope of OpenCL.
- Advantages and limitations of OpenCL.
- Setting up the OpenCL development environment.
- Developing a basic OpenCL program for vector addition.
- Utilizing the OpenCL API for device information queries, memory management, host-device data transfer, kernel launching, and thread synchronization.
- Writing kernels in OpenCL C to execute on the device and manipulate data.
- Leveraging OpenCL built-in functions, variables, and libraries for common operations.
- Optimizing data transfers and memory access using OpenCL memory spaces: global, local, constant, and private.
- Controlling parallelism via the OpenCL execution model, managing work-items, work-groups, and ND-ranges.
- Debugging and testing OpenCL programs using tools such as CodeXL.
- Optimizing OpenCL programs through coalescing, caching, prefetching, and profiling.
CUDA
- Definition and scope of CUDA.
- Advantages and limitations of CUDA.
- Setting up the CUDA development environment.
- Developing a basic CUDA program for vector addition.
- Utilizing the CUDA API for device information queries, memory management, host-device data transfer, kernel launching, and thread synchronization.
- Writing kernels in CUDA C/C++ to execute on the device and manipulate data.
- Leveraging CUDA built-in functions, variables, and libraries for common operations.
- Optimizing data transfers and memory access using CUDA memory spaces: global, shared, constant, and local.
- Controlling parallelism via the CUDA execution model, managing threads, blocks, and grids.
- Debugging and testing CUDA programs using tools such as CUDA-GDB, CUDA-MEMCHECK, and NVIDIA Nsight.
- Optimizing CUDA programs through coalescing, caching, prefetching, and profiling.
ROCm
- Definition and scope of ROCm.
- Advantages and limitations of ROCm.
- Setting up the ROCm development environment.
- Developing a basic ROCm program for vector addition.
- Utilizing the ROCm API for device information queries, memory management, host-device data transfer, kernel launching, and thread synchronization.
- Writing kernels in ROCm C/C++ to execute on the device and manipulate data.
- Leveraging ROCm built-in functions, variables, and libraries for common operations.
- Optimizing data transfers and memory access using ROCm memory spaces: global, local, constant, and private.
- Controlling parallelism via the ROCm execution model, managing threads, blocks, and grids.
- Debugging and testing ROCm programs using tools such as ROCm Debugger and ROCm Profiler.
- Optimizing ROCm programs through coalescing, caching, prefetching, and profiling.
Comparative Analysis
- Comparison of features, performance, and compatibility across OpenCL, CUDA, and ROCm.
- Evaluation of GPU programs using benchmarks and performance metrics.
- Best practices and tips for effective GPU programming.
- Exploration of current and future trends and challenges in GPU programming.
Summary and Next Steps
Requirements
- Proficiency in C/C++ and a solid understanding of parallel programming concepts.
- Fundamental knowledge of computer architecture and memory hierarchy.
- Familiarity with command-line tools and code editors.
Target Audience
- Developers seeking to master various GPU programming frameworks and compare their features, performance, and compatibility.
- Developers aiming to write portable and scalable code capable of running across different platforms and devices.
- Programmers interested in exploring the trade-offs and challenges associated with GPU programming and optimization.
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 5800 € + VAT*
Contact us for an exact quote and to hear our latest promotions