Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

On certain systems unittests that uses the event_impl constructor with no arguments may disagree with the event_impl source file on the layout of the default std::optional argument. This can cause unexpected memory accesses when performing operations on the passed argument. This commit works around this issue by moving the body of the constructor to the header.

On certain systems unittests that uses the event_impl constructor with
no arguments may disagree with the event_impl source file on the layout
of the default std::optional argument. This can cause unexpected memory
accesses when performing operations on the passed argument. This commit
works around this issue by moving the body of the constructor to the
header.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner August 19, 2022 09:31
@steffenlarsen steffenlarsen merged commit 36e7587 into intel:sycl Aug 19, 2022
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.

2 participants