Skip to content

Commit

Permalink
sycl: avoid redundant sync
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov committed Oct 17, 2023
1 parent 595543d commit a96e9b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sycl/sycl_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void sycl_stream_t::before_exec_hook() {
}

void sycl_stream_t::after_exec_hook() {
sycl_ctx().set_deps(sycl_event_t());
if (is_profiling_enabled()) profiler_->stop_profiling();
}

Expand Down

0 comments on commit a96e9b1

Please sign in to comment.