Offloading & CUDA: Parallelism in C++ #3/3 (also OpenMP, OpenACC, GPU & Coprocessors like Xeon Phi)
Computer programs can be made faster by making them do many things simultaneously. Let’s study three categorical ways to accomplish that in GCC. In the third episode, we study ways to offload code to various accelerators such as GPU on a graphics card. We also explore CUDA. The previous episode can be found at: • Threads/Multiple cores: Parallelism in C++... As a plot device in this tool-assisted education video, a Mandelbrot fractal is rendered. Twitter: / realbisqwit Liberapay: https://liberapay.com/Bisqwit (alternatives at https://iki.fi/bisqwit/donate.html) Twitch: / realbisqwit Homepage: https://iki.fi/bisqwit/ OpenMP HQ: http://www.openmp.org/ OpenACC HQ: https://www.openacc.org/ You can contribute subtitles: https://www.youtube.com/timedtext_vid... All downloads and compilation instructions: — https://github.com/bisqwit/cpp_parall... Background music: — Aoki Densetsu Shoot-bang — Game 01 — Kennosuke Suemura — Energy Breaker — Golden-Colored Wind — Yukio Nakajima — Tales of Phantasia — I Miss You — Motoi Sakuraba All music is played through OPL3 synthesis. Sound effects and foley are mostly from YouTube Audio Library. Some are recorded from video games like The Guardian Legend, Duck Hunt, Earthbound, and Super Mario All-Stars. Peter Penguin and Hazel Hopkins are characters of the Hackles webcomic which is © Drake Emko & Jen Brodzik. You can read it at: http://hackles.org/cgi-bin/archives.p... #Bisqwit #Parallelism #Tutorial #Programming #Offloading #CUDA #NVidia #VectorCalculation

Parallelism in C++ #4/3: Some afterwords

SIMD and Vectorization: Parallelism in C++ #1/3 (multitasking on single core)

How to use threads in C++11 (multitasking, mutual exclusion, etc.)

How Huawei Just Built an Impossible Chip

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Intro to GPU Programming with the OpenMP API (OpenMP Webinar)

Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones

Threads/Multiple cores: Parallelism in C++ #2/3 (also hyperthreading)

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

The World's Most Important Machine

FPGAs Aren’t Processors (Unless You Want Them to Be) || FPGA Deep Dive and Use

How CPUs Interact with So Many Different Devices
![GPU programming with modern C++ - Michael Wong [ACCU 2019]](https://i.ytimg.com/vi/a_m440rZ5h8/hqdefault.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAAAAGAElAADIQj0AgKJDeAG4AvMY&rs=AOn4CLBdC5kT7RvFvinRz7LEdgokHhkCHQ&usqp=CCY)
GPU programming with modern C++ - Michael Wong [ACCU 2019]

Emulating a CPU in C++ (6502)

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

I made a GPU at home

The Story of C++: The World's Most Consequential Programming Language | The Official Story

CppCon 2017: Matt Godbolt “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”

How do Graphics Cards Work? Exploring GPU Architecture

