Adding the examples of the target nowait article#2663
Merged
jimmytwei merged 1 commit intooneapi-src:developmentfrom May 28, 2025
Merged
Adding the examples of the target nowait article#2663jimmytwei merged 1 commit intooneapi-src:developmentfrom
jimmytwei merged 1 commit intooneapi-src:developmentfrom
Conversation
jimmytwei
approved these changes
May 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Existing Sample Changes
Description
This PR both deletes old samples and Adds New Samples. The samples are related to the "nowait on target" article which was re-written for the following 2 reasons.
the previous article did not explain/investigate deeply the benefit of nowait and when it is beneficial to use it. In this version we design a benchmark and we show the benefit of nowait by comparing 3 sequential versions (cpu-only. gpu_only and hybrid_blocking) to an async verison using nowait (hybrid_non_blocking)
OpenMP 6.0 updated the syntax of Nowait which is now allowed to have an optional argument. the optional nowait argument allows runtime control over synchronization
The new specs can be found on page 481 of OpenMP-API-Specification-6-0
Type of change
How Has This Been Tested?
Checklist
Administrative
Code Development
Security and Legal
Review