How to: STL algorithm with parallel CPU and GPU

preview_player
Показать описание
In this video I give a primer on data transformation and data reduction offered by STL algorithm library of the C++ standard. I show how powerful some standards are, specially when trying to apply the same interface on implementations that offer CPU or GPU parallelism.

Have a look on the summary to know what you can expect:

0:00 Intro
1:03 The STL Algorithm
2:28 Data transformation
3:36 Data reduction
5:22 Benefits of STL
8:27 The transform_reduce
11:16 Docker setup
12:22 Useful VScode extension
13:12 CMake setup
15:36 Using std::transform
18:00 Parallelizing std::transform
24:54 Using std::reduce
28:20 Using std::transform_reduce
32:03 Using functors
35:31 GPU with ::transform
41:40 Using thrust::
44:12 Benchmarking

Music by: mezhdunami, prigida
Рекомендации по теме
Комментарии
Автор

questo è grandioso. mi chiedo se implementare il parallelismo della CPU per creare un Engine 3d che benefici interessanti potrebbe avere su CPU meno performanti ma che possiedono 8 core .

gamedevunitydliviopanizzi
visit shbcf.ru