Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Localize variables declared in inline asms. #105

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

rdeodhar
Copy link

This change encloses inline asm blocks that contain variable definitions within { and }, thus localizing the variables. This is needed in case the compiler clones the region of code that contains the inline asms, as is done in the parallel_for range rounding optimization.
Signed-off-by: rdeodhar [email protected]

Copy link

@vladimirlaz vladimirlaz left a comment

Choose a reason for hiding this comment

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

@rdeodhar, could you please remove XFAIL: in test if your changes fixes them.

@rdeodhar
Copy link
Author

XFAIL can be removed after driver update to gfx-driver-ci-comp_igc-8719.

@vladimirlaz vladimirlaz self-requested a review January 21, 2021 19:11
@vladimirlaz vladimirlaz merged commit a53d726 into intel:intel Jan 22, 2021
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants