Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix win
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed Aug 2, 2022
1 parent b200436 commit d4c23ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_device_reduce_by_key.cu
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ int Solve(
if (!equality_op(previous, h_keys_in[i]))
{
h_keys_reference[num_segments] = previous;
h_values_reference[num_segments] = aggregate;
h_values_reference[num_segments] = static_cast<ValueT>(aggregate);
num_segments++;
aggregate = h_values_in[i];
}
Expand All @@ -345,7 +345,7 @@ int Solve(
}

h_keys_reference[num_segments] = previous;
h_values_reference[num_segments] = aggregate;
h_values_reference[num_segments] = static_cast<ValueT>(aggregate);
num_segments++;

return num_segments;
Expand Down

0 comments on commit d4c23ae

Please sign in to comment.