Skip to content
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

[SYCL] Remove redundant check if Kernel is on host #17376

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

KseniyaTikhomirova
Copy link
Contributor

@KseniyaTikhomirova KseniyaTikhomirova commented Mar 10, 2025

This is shortcut path for Kernel CG only.
It handles only device kernels that means that there is no necessity to check if event is a host event.
I also do not see necessity to check if Handle != nullptr since there is a separated path for discarded event case. That means that in path for kernel + no discarding events this check is not necessary at all.

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@againull againull self-requested a review March 12, 2025 04:35
@againull againull merged commit 0e9d697 into intel:sycl Mar 12, 2025
23 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.

None yet

2 participants