Skip to content

[SYCL] Use SYCL containers in accessor_impl.hpp #1102

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
merged 1 commit into from
Feb 10, 2020

Conversation

alexbatashev
Copy link
Contributor

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

romanovvlad
romanovvlad previously approved these changes Feb 6, 2020
@@ -13,6 +13,7 @@
#include <CL/sycl/detail/sycl_mem_obj_i.hpp>
#include <CL/sycl/id.hpp>
#include <CL/sycl/range.hpp>
#include <CL/sycl/stl.hpp>

#include <memory>
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still need this include?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bader we still use std::make_shared. There's no SYCL alternative now, AFAIK.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a bit lost. What is the purposed of this patch? Could you elaborate more on that in the description?

Do you really need to use std::make_shared? I thought this utility simplifies the pointer constructions, but you call it directly. Right?

@bader bader merged commit 494c169 into intel:sycl Feb 10, 2020
@alexbatashev alexbatashev deleted the private/abatashe/refactor_accessor branch September 17, 2021 06:45
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