Skip to content

[SYCL] Convert sync exceptions to async inside Scheduler::addCopyBack() #930

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

Conversation

v-klochkov
Copy link
Contributor

This is needed to avoid throwing sync exceptions from it to destructor
of buffer_impl which must never throw as all desctructors.
That eliminates the silent runtime crashes caused by throw in/from
~buffer_impl().

Signed-off-by: Klochkov [email protected]

This is needed to avoid throwing sync exceptions from it to destructor
of buffer_impl which must never throw as all desctructors.
That eliminates the silent runtime crashes caused by throw in/from
~buffer_impl().

Signed-off-by: Klochkov <[email protected]>
Copy link
Contributor

@kbobrovs kbobrovs 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 assigned sergey-semenov and unassigned romanovvlad Dec 19, 2019
@bader bader merged commit 2d6dcd0 into intel:sycl Dec 19, 2019
@v-klochkov v-klochkov deleted the public_vklochkov_buffer_impl_destructor branch December 24, 2019 20:59
ProGTX pushed a commit to ProGTX/llvm that referenced this pull request Feb 26, 2020
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.

5 participants