Skip to content

[SYCL] Use forward declarations in ordered_queue #1098

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

alexbatashev
Copy link
Contributor

This patch is a part of effort to decouple SYCL Runtime library
interface from its actual implementation. The goal is to improve
SYCL ABI/API compatibility between different versions of library.

ordered_queue class was refactored to use queue_impl class as forward
declaration in headers. All calls to impl were moved to the library. Also,
std::shared_ptr was replaced with shared_ptr_class.

Signed-off-by: Alexander Batashev [email protected]

Alexander Batashev added 2 commits February 4, 2020 16:14
This patch is a part of effort to decouple SYCL Runtime library
interface from its actual implementation. The goal is to improve
SYCL ABI/API compatibility between different versions of library.

ordered_queue class was refactored to use queue_impl class as forward
declaration in headers. All calls to impl were moved to the library. Also,
std::shared_ptr was replaced with shared_ptr_class.

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

@jbrodman jbrodman 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 5d1c8a6 into intel:sycl Feb 5, 2020
@alexbatashev alexbatashev deleted the private/abatashe/refactor_ordered_queue branch February 5, 2020 17:38
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.

4 participants