diff --git a/testing/async_reduce.cu b/testing/async_reduce.cu index a2bf5ccf0..5357c1af3 100644 --- a/testing/async_reduce.cu +++ b/testing/async_reduce.cu @@ -48,7 +48,7 @@ struct custom_plus auto operator()( \ ForwardIt&& first, Sentinel&& last \ ) \ - THRUST_RETURNS( \ + THRUST_DECLTYPE_RETURNS( \ ::thrust::async::reduce( \ __VA_ARGS__ \ ) \ diff --git a/testing/async_reduce_into.cu b/testing/async_reduce_into.cu index f99271294..a4a2be99e 100644 --- a/testing/async_reduce_into.cu +++ b/testing/async_reduce_into.cu @@ -49,7 +49,7 @@ struct custom_plus auto operator()( \ ForwardIt&& first, Sentinel&& last, OutputIt&& output \ ) \ - THRUST_RETURNS( \ + THRUST_DECLTYPE_RETURNS( \ ::thrust::async::reduce_into( \ __VA_ARGS__ \ ) \ diff --git a/testing/async_transform.cu b/testing/async_transform.cu index 93b38b17d..efaa885f0 100644 --- a/testing/async_transform.cu +++ b/testing/async_transform.cu @@ -48,7 +48,7 @@ struct divide_by_2 ForwardIt&& first, Sentinel&& last, OutputIt&& output \ , UnaryOperation&& op \ ) \ - THRUST_RETURNS( \ + THRUST_DECLTYPE_RETURNS( \ ::thrust::async::transform( \ __VA_ARGS__ \ ) \