Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Hardware Efficiency in C++ - CppCon 2022

CppCon via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This lecture explains how to identify CPU and memory bottlenecks in C++ programs and improve performance through techniques such as vectorization and better memory layout.

Syllabus

Intro
Making software fast
Better Usage of Hardware Resources
Computationally intensive or memory intensive?
Fixing memory intensive codes - SOA
Fixing memory intensive codes (3)
Introduction to vectorization
Prerequisites for autovectorization
Fixes for vectorization problems
When do data cache misses typically happen?
Example: Minimum and maximum in array
Why is perfect memory layout the fastest?
Experiment with class size and member layout

Taught by

CppCon

Reviews

Start your review of Introduction to Hardware Efficiency in C++ - CppCon 2022

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.