Skip to content

[SYCL] Emit diagnostics appropriately when coexisting with OpenMP #3750

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

Merged
merged 4 commits into from
May 14, 2021

Conversation

premanandrao
Copy link
Contributor

In the presence of OpenMP, calls to undefined functions get
diagnosed incorrectly in SYCL. With this change, the diagnostic
is emitted only when the reason for the emission is SYCL.
This change leverages the diagnostic "reason" infrastructure
implemented in PR #3511.

Signed-off-by: Premanand M Rao [email protected]

In the presence of OpenMP, calls to undefined functions get
diagnosed incorrectly in SYCL.  With this change, the diagnostic
is emitted only when the reason for the emission is SYCL.
This change leverages the diagnostic "reason" infrastructure
implemented in PR intel#3511.

Signed-off-by: Premanand M Rao <[email protected]>
Copy link
Contributor

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

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

LGTM!

@bader bader merged commit cbec0b5 into intel:sycl May 14, 2021
@premanandrao premanandrao deleted the remote_diag_omp branch May 17, 2021 19:05
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.

3 participants