Skip to content

Commit

Permalink
Update thrust/testing/is_contiguous_iterator.cu
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schellenberger Costa <[email protected]>
  • Loading branch information
bernhardmgruber and miscco committed May 7, 2024
1 parent 8efb0b2 commit 4741fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thrust/testing/is_contiguous_iterator.cu
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ template <typename IteratorT, typename PointerT, typename expected_unwrapped_typ
struct check_unwrapped_iterator
{
using unwrapped_t =
typename std::remove_reference<decltype(thrust::try_unwrap_contiguous_iterator(std::declval<IteratorT>()))>::type;
::cuda::std::__remove_reference_t<decltype(thrust::try_unwrap_contiguous_iterator(cuda::std::declval<IteratorT>()))>;

static constexpr bool value =
std::is_same<expected_unwrapped_type, expect_pointer>::value
Expand Down

0 comments on commit 4741fa1

Please sign in to comment.