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

Remove OpenMP dependency for sequential backend #786

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

illuhad
Copy link
Collaborator

@illuhad illuhad commented Jul 26, 2022

The OpenMP kernel launcher has used some OpenMP runtime functionality, e.g. to query thread id. This has forced us to have OpenMP as a dependency, even when we don't want to use OpenMP parallelization in the sequential dummy backend.

This PR removes the OpenMP dependency by only enabling the affected functionality if _OPENMP is defined.

Hopefully fixes #785

@illuhad illuhad merged commit a227f8d into develop Jul 27, 2022
@illuhad illuhad deleted the feature/no-omp-dependency-for-sequential-backend branch July 27, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed linking due to -lomp in DEFAULT_SEQUENTIAL_LINK_LINE
1 participant