Parallel C++: OpenMP Reduction

preview_player
Показать описание
In this video we at the basics basics of performance reductions using the reduction clause in OpenMP!

Рекомендации по теме
Комментарии
Автор

Considering that you never need the variable "i", you could have "for ( auto e : v_in ) s += e*e". Feels more idiomatic C++.

victotronics