2727
2828#include < cuda/std/__cccl/prologue.h>
2929
30- #if _CCCL_STD_VER >= 2017
3130namespace cuda ::experimental
3231{
3332/* TODO right now operator stacking can end up with a wrong unit, we could use below type, but we would need an explicit
@@ -398,9 +397,9 @@ struct hierarchy_dimensions
398397 : levels(ls)
399398 {}
400399
401- # if !defined(_CCCL_NO_THREE_WAY_COMPARISON) && !_CCCL_COMPILER(MSVC, <, 19, 39) && !_CCCL_COMPILER(GCC, <, 12)
400+ #if !defined(_CCCL_NO_THREE_WAY_COMPARISON) && !_CCCL_COMPILER(MSVC, <, 19, 39) && !_CCCL_COMPILER(GCC, <, 12)
402401 [[nodiscard]] _CCCL_HIDE_FROM_ABI constexpr bool operator ==(const hierarchy_dimensions&) const noexcept = default ;
403- # else // ^^^ !_CCCL_NO_THREE_WAY_COMPARISON ^^^ / vvv _CCCL_NO_THREE_WAY_COMPARISON vvv
402+ #else // ^^^ !_CCCL_NO_THREE_WAY_COMPARISON ^^^ / vvv _CCCL_NO_THREE_WAY_COMPARISON vvv
404403 [[nodiscard]] _CCCL_API friend constexpr bool
405404 operator ==(const hierarchy_dimensions& left, const hierarchy_dimensions& right) noexcept
406405 {
@@ -412,7 +411,7 @@ struct hierarchy_dimensions
412411 {
413412 return left.levels != right.levels ;
414413 }
415- # endif // _CCCL_NO_THREE_WAY_COMPARISON
414+ #endif // _CCCL_NO_THREE_WAY_COMPARISON
416415
417416private:
418417 // This being static is a bit of a hack to make extents_type working without incomplete class member access
@@ -819,12 +818,12 @@ public:
819818 }
820819 }
821820
822- # ifndef _CCCL_DOXYGEN_INVOKED // Do not document
821+ #ifndef _CCCL_DOXYGEN_INVOKED // Do not document
823822 constexpr hierarchy_dimensions combine ([[maybe_unused]] __empty_hierarchy __empty) const
824823 {
825824 return *this ;
826825 }
827- # endif // _CCCL_DOXYGEN_INVOKED
826+ #endif // _CCCL_DOXYGEN_INVOKED
828827};
829828
830829/* *
@@ -944,7 +943,6 @@ constexpr auto hierarchy_add_level(const hierarchy_dimensions<Unit, Levels...>&
944943 }
945944}
946945} // namespace cuda::experimental
947- #endif // _CCCL_STD_VER >= 2017
948946
949947#include < cuda/std/__cccl/epilogue.h>
950948
0 commit comments