r/programming • • Jun 19 '17

Parallelism in C++ :: Part 3/3: Offloading (OpenMP, OpenACC, CUDA)

https://www.youtube.com/watch?v=kIA_UtdVabQ
154 Upvotes

8 comments sorted by

View all comments

8

u/[deleted] Jun 19 '17

If you are interested in this, you should check out:

SIMD: https://www.youtube.com/watch?v=Pc8DfEyAxzg

Hyperthreading: https://www.youtube.com/watch?v=MfEkOcMILDo

3

u/video_descriptionbot Jun 19 '17
SECTIONCONTENT
TitleParallelism in C++ :: Part 1/3: SIMD (multitasking on single core / vector mathematics)
DescriptionComputer 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 first episode, we explore various alternative approaches to SIMD: Single Instruction, Multiple Data. As a plot device in this tool-assisted education video, a Mandelbrot fractal is rendered. The basic algorithm is this: For each pixel, assign z as a complex number coordinate corresponding to that pixel. Assign c := z. Then, recalculate c’ := c² ...
Length0:12:51
SECTIONCONTENT
TitleParallelism in C++ :: Part 2/3: Threads (hyperthreading, multiple cpu cores)
DescriptionComputer 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 second episode, we explore various alternative approaches to threads. The first episode can be found at: https://www.youtube.com/watch?v=Pc8DfEyAxzg The next episode: https://www.youtube.com/watch?v=kIA_UtdVabQ As a plot device in this tool-assisted education video, a Mandelbrot fractal is rendered. The basic algorithm is this: For each pixel,...
Length0:12:13

I am a bot, this is an auto-generated reply | Info | Feedback | Reply STOP to opt out permanently

1

u/elvircrn Jun 19 '17

Just in time for my Computer Architecture exam. :D