Skip to content

Commit

Permalink
Fix TODO parallel comment
Browse files Browse the repository at this point in the history
  • Loading branch information
laggui committed Mar 18, 2024
1 parent 732c47e commit 12c0f67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/burn-tensor/src/tensor/api/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,9 @@ fn sort_slice<B: Backend, const D: usize, K: BasicOps<B>>(
.map(|(_, d)| d)
.product();

// TODO: run_par!(|| {
// iter_par!(output.axis_iter_mut(Axis(0)))
// TODO: run each sort in parallel
// run_par!(|| {
// iter_range_par!(0, num_sorts).for_each(|id| {...})
for id in 0..num_sorts {
let mut index_offset = 0;
let mut stride_dim = 0;
Expand Down

0 comments on commit 12c0f67

Please sign in to comment.