Introduction to CUDA and Modern C++ Programming

View original course

29 study materials · 6 sections

This course provides a comprehensive introduction to the CUDA parallel computing platform alongside the modern C++ features that underpin high-performance GPU programming. Students will explore the CUDA programming model, including thread and memory hierarchies, while mastering C++11/14/17 standards such as variadic templates, type deduction, and constexpr. By the end of the course, learners will understand how to leverage both hardware-specific abstractions and advanced language features to build efficient, scalable, and type-safe accelerated applications.

Course Sections

The CUDA Programming Model & Architecture

Key concepts: Kernels · Thread Hierarchy · Memory Hierarchy · SIMT Architecture · NVCC Compilation

An introduction to the fundamental concepts of GPU computing, focusing on the thread hierarchy, memory models, and the SIMT architecture.

Modern C++ Type Deduction & Safety

Key concepts: Type Deduction (auto) · decltype Operator · nullptr · Template Aliases · Contextual Conversions

Explores the evolution of type deduction in C++, including auto, decltype, and the introduction of nullptr to improve code clarity and safety.

Advanced Templates & Metaprogramming

Key concepts: Variadic Templates · Parameter Packs · Variable Templates · Template Template Parameters · Pack Expansion

Covers variadic templates, variable templates, and template template parameters to enable highly generic and reusable GPU code.

Performance, Attributes, & Memory Alignment

Key concepts: constexpr · alignas / alignof · General Attributes · Strongly Typed Enums · Explicit Conversion Operators

Focuses on language features that provide fine-grained control over hardware behavior, including alignment, constant expressions, and attributes.

Modern Syntax & Literal Extensions

Key concepts: Lambda Expressions · User-defined Literals · Binary Literals · Digit Separators · Long Long Type

Discusses quality-of-life improvements in C++ syntax, including lambdas, user-defined literals, and binary representations.

Object Lifecycle & Advanced Language Rules

Key concepts: Delegating Constructors · Unrestricted Unions · Extended Friend Declarations · Conditionally-supported Behavior · Ill-formed Programs

Examines complex language behaviors such as delegating constructors, unrestricted unions, and the classification of undefined behavior.

Source Materials

Study Introduction to CUDA and Modern C++ Programming on Lykke

This course page is free to open: signed out, you can read its first two sections, and signing in, on any plan, opens the rest. The free Lykke Chrome extension syncs your own Canvas courses, so ChatGPT, Claude and Muse can answer from your classes and deadlines. It only reads Canvas.

Add the free extensionSign in to open every section

Browse more course pages