Skip to content

Commit

Permalink
Fix include for <iterator> (#1929)
Browse files Browse the repository at this point in the history
Follow-up fix for PR #1863
  • Loading branch information
bernhardmgruber committed Jul 2, 2024
1 parent 327420b commit 7f2c1d1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cub/cub/util_type.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#include <cub/detail/uninitialized_copy.cuh>

#include <cuda/std/cstdint>
#include <cuda/std/iterator>
#include <cuda/std/limits>
#include <cuda/std/type_traits>

Expand All @@ -59,6 +58,12 @@ _CCCL_DIAG_POP
# endif // !_CCCL_CUDACC_BELOW_11_8
#endif // _CCCL_HAS_NV_BF16

#ifdef _CCCL_COMPILER_NVRTC
# include <cuda/std/iterator>
#else // !defined(_CCCL_COMPILER_NVRTC)
# include <iterator>
#endif // defined(_CCCL_COMPILER_NVRTC)

CUB_NAMESPACE_BEGIN

#ifndef CUB_IS_INT128_ENABLED
Expand Down

0 comments on commit 7f2c1d1

Please sign in to comment.