Skip to content

Conversation

@slawekptak
Copy link
Contributor

Avoid the event_impl shared_ptr copy by removing a temporary variable and using a reference instead.

Avoid the event_impl shared_ptr copy by removing a temporary variable
and using a reference instead.
@slawekptak slawekptak marked this pull request as ready for review April 7, 2025 08:45
@slawekptak slawekptak requested a review from a team as a code owner April 7, 2025 08:45
@slawekptak slawekptak requested a review from uditagarwal97 April 7, 2025 08:45
detail::getSyclObjImpl(MLastEvent);

bool DiscardEvent = (MQueue->MDiscardEvents || !impl->MEventNeeded) &&
MQueue->supportsDiscardingPiEvents();
Copy link
Contributor

Choose a reason for hiding this comment

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

supportsDiscardingPiEvents
Unrelated to this PR, but, I thought we have renamed all PI* to UR.

@uditagarwal97 uditagarwal97 merged commit 2db918d into intel:sycl Apr 8, 2025
48 of 50 checks passed
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