@@ -356,8 +356,6 @@ py_repeat_by_sequence(const dpctl::tensor::usm_ndarray &src,
356356 host_task_events.push_back (cleanup_tmp_allocations_ev);
357357 }
358358
359- host_task_events.push_back (repeat_ev);
360-
361359 sycl::event py_obj_management_host_task_ev = dpctl::utils::keep_args_alive (
362360 exec_q, {src, reps, cumsum, dst}, host_task_events);
363361
@@ -504,7 +502,6 @@ py_repeat_by_sequence(const dpctl::tensor::usm_ndarray &src,
504502 });
505503 });
506504 host_task_events.push_back (cleanup_tmp_allocations_ev);
507- host_task_events.push_back (repeat_ev);
508505
509506 sycl::event py_obj_management_host_task_ev = dpctl::utils::keep_args_alive (
510507 exec_q, {src, reps, cumsum, dst}, host_task_events);
@@ -734,8 +731,6 @@ py_repeat_by_scalar(const dpctl::tensor::usm_ndarray &src,
734731 host_task_events.push_back (cleanup_tmp_allocations_ev);
735732 }
736733
737- host_task_events.push_back (repeat_ev);
738-
739734 sycl::event py_obj_management_host_task_ev =
740735 dpctl::utils::keep_args_alive (exec_q, {src, dst}, host_task_events);
741736
@@ -846,7 +841,6 @@ py_repeat_by_scalar(const dpctl::tensor::usm_ndarray &src,
846841 });
847842
848843 host_task_events.push_back (cleanup_tmp_allocations_ev);
849- host_task_events.push_back (repeat_ev);
850844
851845 sycl::event py_obj_management_host_task_ev =
852846 dpctl::utils::keep_args_alive (exec_q, {src, dst}, host_task_events);
0 commit comments