Skip to content

Commit

Permalink
Merge pull request #6613 from STEllAR-GROUP/fix-partitioned-vector-ha…
Browse files Browse the repository at this point in the history
…ndle-values-test

Fix partitioned_vector_handle_values test
  • Loading branch information
hkaiser authored Feb 12, 2025
2 parents 4862465 + 318abbb commit 9d3ce28
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void handle_values_tests(hpx::partitioned_vector<T>& v)
std::vector<T> values(positions.size());
fill_vector(values, T(48), T(3));

v.set_values(0, positions, values);
v.set_values(hpx::launch::sync, 0, positions, values);
std::vector<T> result = v.get_values(hpx::launch::sync, 0, positions);

compare_vectors(values, result);
Expand All @@ -98,7 +98,7 @@ void handle_values_tests_distributed_access(hpx::partitioned_vector<T>& v)
std::vector<T> values2(positions2.size());
fill_vector(values2, T(42), T(0));

v.set_values(positions, values);
v.set_values(hpx::launch::sync, positions, values);
std::vector<T> result = v.get_values(hpx::launch::sync, positions);
std::vector<T> result2 = v.get_values(hpx::launch::sync, positions2);

Expand Down

0 comments on commit 9d3ce28

Please sign in to comment.