Commit 0e9d697
authored
[SYCL] Remove redundant check if Kernel is on host (#17376)
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>1 parent 7ad1203 commit 0e9d697
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | | - | |
548 | 546 | | |
549 | 547 | | |
550 | 548 | | |
| |||
0 commit comments