Skip to content

Commit

Permalink
fixup! adds helper to create oneDPL policy
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Jul 7, 2023
1 parent 126fcad commit 47143af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dpcpp/distributed/partition_kernels.dp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void setup_sizes_ids_permutation(
permutation[i] = static_cast<GlobalIndexType>(i);
},
num_ranges, num_ranges, num_parts, range_offsets, range_parts,
range_sizes.get_data(), part_ids.get_data(), permutation.get_data());
range_sizes, part_ids, permutation);
}


Expand Down Expand Up @@ -103,8 +103,8 @@ void compute_part_sizes_and_starting_indices(
prev_part == cur_part ? grouped_starting_indices[i - 1]
: LocalIndexType{};
},
num_ranges, range_sizes.get_const_data(), part_ids.get_const_data(),
permutation.get_const_data(), starting_indices, part_sizes);
num_ranges, range_sizes, part_ids, permutation, starting_indices,
part_sizes);
}


Expand Down

0 comments on commit 47143af

Please sign in to comment.