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.
Course Outline
Introduction
- What is GPU programming?
- Why is GPU programming used?
- What are the challenges and trade-offs of GPU programming?
- What frameworks are available for GPU programming?
- Selecting the appropriate framework for your application
OpenCL
- What is OpenCL?
- What are the advantages and disadvantages of OpenCL?
- Configuring the development environment for OpenCL
- Developing a fundamental OpenCL program performing vector addition
- Using the OpenCL API to query device information, allocate and deallocate device memory, transfer data between host and device, launch kernels, and synchronise threads
- Using the OpenCL C language to write kernels that execute on the device and manipulate data
- Using OpenCL built-in functions, variables, and libraries to perform common tasks and operations
- Using OpenCL memory spaces, such as global, local, constant, and private, to optimise data transfers and memory accesses
- Using the OpenCL execution model to control the work-items, work-groups, and ND-ranges that define the parallelism
- Debugging and testing OpenCL programs using tools such as CodeXL
- Optimising OpenCL programs using techniques such as coalescing, caching, prefetching, and profiling
CUDA
- What is CUDA?
- What are the advantages and disadvantages of CUDA?
- Configuring the development environment for CUDA
- Developing a fundamental CUDA program performing vector addition
- Using the CUDA API to query device information, allocate and deallocate device memory, transfer data between host and device, launch kernels, and synchronise threads
- Using the CUDA C/C++ language to write kernels that execute on the device and manipulate data
- Using CUDA built-in functions, variables, and libraries to perform common tasks and operations
- Using CUDA memory spaces, such as global, shared, constant, and local, to optimise data transfers and memory accesses
- Using the CUDA execution model to control the threads, blocks, and grids that define the parallelism
- Debugging and testing CUDA programs using tools such as CUDA-GDB, CUDA-MEMCHECK, and NVIDIA Nsight
- Optimising CUDA programs using techniques such as coalescing, caching, prefetching, and profiling
ROCm
- What is ROCm?
- What are the advantages and disadvantages of ROCm?
- Configuring the development environment for ROCm
- Developing a fundamental ROCm program performing vector addition
- Using the ROCm API to query device information, allocate and deallocate device memory, transfer data between host and device, launch kernels, and synchronise threads
- Using the ROCm C/C++ language to write kernels that execute on the device and manipulate data
- Using ROCm built-in functions, variables, and libraries to perform common tasks and operations
- Using ROCm memory spaces, such as global, local, constant, and private, to optimise data transfers and memory accesses
- Using the ROCm execution model to control the threads, blocks, and grids that define the parallelism
- Debugging and testing ROCm programs using tools such as ROCm Debugger and ROCm Profiler
- Optimising ROCm programs using techniques such as coalescing, caching, prefetching, and profiling
Comparison
- Comparing the features, performance, and compatibility of OpenCL, CUDA, and ROCm
- Evaluating GPU programs using benchmarks and metrics
- Learning best practices and tips for GPU programming
- Exploring current and future trends and challenges in GPU programming
Summary and Next Steps
Requirements
- A solid understanding of C/C++ language and parallel programming concepts
- Foundational knowledge of computer architecture and memory hierarchy
- Experience with command-line tools and code editors
Audience
- Developers wishing to learn how to utilise different frameworks for GPU programming and compare their features, performance, and compatibility
- Developers aiming to write portable and scalable code capable of running across various platforms and devices
- Programmers interested in exploring the trade-offs and challenges associated with GPU programming and optimisation
28 Hours