Skip to content

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 premanand.m.rao@intel.com

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 <premanand.m.rao@intel.com>
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