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 openmp in kokkos if openmp is found #266

Merged
merged 8 commits into from
Aug 21, 2020

Conversation

JoshuaSBrown
Copy link
Collaborator

@JoshuaSBrown JoshuaSBrown commented Aug 17, 2020

PR Summary

It does not make sense that parthenon has openmp enabled by default but that it is not used by Kokkos unless Kokkos_ENABLE_OPENMP is enabled, this is redundant, this pull request attempts to address this by using parthenon's defaults.

PR Checklist

  • Code passes cpplint
  • Code is formatted
  • Changes are summarized in CHANGELOG.md

@JoshuaSBrown JoshuaSBrown changed the title Turn on openmp in kokkos if openmp id found Enable openmp in kokkos if openmp is found Aug 17, 2020
@JoshuaSBrown JoshuaSBrown added the refactor An improvement to existing code. label Aug 17, 2020
@JoshuaSBrown JoshuaSBrown self-assigned this Aug 17, 2020
CMakeLists.txt Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@Yurlungur Yurlungur left a comment

Choose a reason for hiding this comment

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

No objections from me. I defer to you and @AndrewGaspar as far as the cmake fu.

@pgrete pgrete merged commit ebaafad into develop Aug 21, 2020
@pgrete pgrete deleted the JoshuaSBrown/auto_enable_openmp_if_detected branch August 21, 2020 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor An improvement to existing code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants