Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Intel Threading Building Blocks #325

Merged
merged 1 commit into from
Sep 9, 2020
Merged

Enable Intel Threading Building Blocks #325

merged 1 commit into from
Sep 9, 2020

Conversation

mlund
Copy link
Owner

@mlund mlund commented Aug 18, 2020

If ENABLE_TBB, Intel's threading building blocks is downloaded and linked to all faunus targets. This enables the use of parallel std::execution policies currently available in GCC 9.1 and onwards. As exemplified in src/energy.h, a macro can be used to deternine if parallel execution is supported by the compiler. The linked TBB is a clone, currently of TBB 2020.2 with added CMake build, which enables simple download from our build system.

If ENABLE_TBB, Intel's threading building blocks
is downloaded and linked to all faunus targets. This
enables the use of parallel `std::execution` policies
currently available in GCC 9.1 and onwards. As exemplified
in `src/energy.h`, a macro can be used to deternine if
parallel execution is supported by the compiler.

The linked TBB is a clone, currently of TBB 2020.2 with
added CMake build, which enables simple download from our
build system.
@mlund mlund added this to the future revision milestone Aug 18, 2020
@mlund mlund merged commit 42fc3a1 into master Sep 9, 2020
@mlund mlund modified the milestones: future revision, Version 2.5.0 Mar 27, 2021
@mlund mlund deleted the tbb-enable branch April 15, 2021 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant