Skip to content

Commit c28ad7c

Browse files
[SYCL] Revert enable_shared_from_this for event_impl (#19078)
It was introduced in a4c5ace along with other chanes and caused the performance regression.
1 parent f6a9c4d commit c28ad7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/event_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class queue_impl;
3434
class event_impl;
3535
using EventImplPtr = std::shared_ptr<sycl::detail::event_impl>;
3636

37-
class event_impl : public std::enable_shared_from_this<event_impl> {
37+
class event_impl {
3838
struct private_tag {
3939
explicit private_tag() = default;
4040
};

0 commit comments

Comments
 (0)