Skip to content

Commit

Permalink
Fix bad use of c2h::device_policy().
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Jan 23, 2024
1 parent b57afb8 commit 2036a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/test/catch2_radix_sort_helper.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ get_permutation(const c2h::host_vector<KeyT> &h_keys,
get_striped_keys(h_keys, begin_bit, end_bit);

c2h::host_vector<std::size_t> h_permutation(h_keys.size());
thrust::sequence(c2h::device_policy(), h_permutation.begin(), h_permutation.end());
thrust::sequence(h_permutation.begin(), h_permutation.end());

using traits_t = cub::Traits<KeyT>;
using bit_ordered_t = typename traits_t::UnsignedBits;
Expand Down

0 comments on commit 2036a23

Please sign in to comment.