Skip to content

Commit

Permalink
Cast to raw reference
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Sep 9, 2024
1 parent 56a06b0 commit 08b32dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/cub/device/dispatch/dispatch_transform.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ _CCCL_DEVICE void transform_kernel_impl(
RandomAccessIteratorsIn... ins)
{
auto op = [&](Offset i) {
out[i] = transform_op(ins[i]...);
out[i] = transform_op(THRUST_NS_QUALIFIER::raw_reference_cast(ins[i])...);
};
using OpT = decltype(op);

Expand Down

0 comments on commit 08b32dc

Please sign in to comment.