Skip to content

Commit d34de92

Browse files
Do not add computation event to host_task_lists
Fix two additional instances pointed out by @ndgrigorian during PR review.
1 parent 265bb7f commit d34de92

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

dpctl/tensor/libtensor/source/boolean_advanced_indexing.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,6 @@ py_extract(const dpctl::tensor::usm_ndarray &src,
370370
host_task_events.push_back(cleanup_tmp_allocations_ev);
371371
}
372372

373-
host_task_events.push_back(extract_ev);
374-
375373
sycl::event py_obj_management_host_task_ev = dpctl::utils::keep_args_alive(
376374
exec_q, {src, cumsum, dst}, host_task_events);
377375

dpctl/tensor/libtensor/source/repeat.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)