Skip to content

Parallel algorithms - #120

Open
diehlpk wants to merge 27 commits into
cplusplus:masterfrom
diehlpk:parallel_alg
Open

diehlpk wants to merge 27 commits into
cplusplus:masterfrom
diehlpk:parallel_alg

Conversation

@diehlpk

@diehlpk diehlpk commented May 13, 2025

Copy link
Copy Markdown
Contributor

Attempt for parallel algorithms by @diehlpk and @VictorEijkhout

@diehlpk

diehlpk commented May 14, 2025

Copy link
Copy Markdown
Contributor Author

Co-authored-by: Victor Eijkhout eijkhout@tacc.utexas.edu

Comment on lines +138 to +139
* Nvidia supports to run `std::execution::par` on Nvidia GPUs. However, that is not yet in the C++ standard and will only work with Nvidia's HPC compiler.
* Currently, parallel algorithms are implemented using Intel's TBB library in GCC. You can set the number of used cores using `tbb::global_control(tbb::global_control::max_allowed_parallelism, nthreads);` provided by the header `#include "tbb/tbb.h"`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to me more like additional information, compared to advanced features about the topic. I'm not sure where to best put this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We added a statement: Parallelism is depending on the hardware and runtime. Therefore, we make the following remarks. We agree that it is not a perfect fit, however, from my teaching experience it is important to state.

@diehlpk

diehlpk commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

@vulder we worked on your comments in today's meeting. Please have a look.

@diehlpk

diehlpk commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

@vulder please add the North America label

diehlpk and others added 2 commits October 1, 2026 07:58
Co-authored-by: Florian Sattler <vuld3r@gmail.com>
Co-authored-by: Florian Sattler <vuld3r@gmail.com>
diehlpk and others added 4 commits October 1, 2026 07:59
Co-authored-by: Florian Sattler <vuld3r@gmail.com>
Co-authored-by: Mark Hoemmen <mhoemmen@users.noreply.github.com>
Co-authored-by: Mark Hoemmen <mhoemmen@users.noreply.github.com>
@vulder vulder added the NA-Group label Oct 3, 2026
@vulder
vulder self-requested a review October 3, 2026 06:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants