From a902f5f3d07624be7a0e1d96a90dfc2f8930b2a3 Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Tue, 23 Jul 2024 21:09:13 -0700 Subject: [PATCH] Minor cleanup by using cuda::std::min --- include/cuco/detail/pair/helpers.cuh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/cuco/detail/pair/helpers.cuh b/include/cuco/detail/pair/helpers.cuh index f3ad3078f..3cc343687 100644 --- a/include/cuco/detail/pair/helpers.cuh +++ b/include/cuco/detail/pair/helpers.cuh @@ -15,11 +15,10 @@ #pragma once +#include #include #include -#include - namespace cuco::detail { /** @@ -30,8 +29,7 @@ namespace cuco::detail { template __host__ __device__ constexpr std::size_t pair_alignment() { - // TODO: migrate to cuda::std::min once bumping to CCCL 2.3 - return std::min(std::size_t{16}, cuda::std::bit_ceil(sizeof(First) + sizeof(Second))); + return cuda::std::min(std::size_t{16}, cuda::std::bit_ceil(sizeof(First) + sizeof(Second))); } /**