diff --git a/cub/cub/device/dispatch/kernels/merge_sort.cuh b/cub/cub/device/dispatch/kernels/merge_sort.cuh index 3e20b304d11..c9a8a61395a 100644 --- a/cub/cub/device/dispatch/kernels/merge_sort.cuh +++ b/cub/cub/device/dispatch/kernels/merge_sort.cuh @@ -117,24 +117,24 @@ public: ::cuda::std::_If; using merge_agent_t = ::cuda::std::_If; - CUB_RUNTIME_FUNCTION static constexpr std::size_t block_sort_vsmem_per_block() + _CCCL_HOST_DEVICE static constexpr ::cuda::std::size_t block_sort_vsmem_per_block() { return detail::vsmem_helper_impl::vsmem_per_block; } - CUB_RUNTIME_FUNCTION static constexpr std::size_t merge_vsmem_per_block() + _CCCL_HOST_DEVICE static constexpr ::cuda::std::size_t merge_vsmem_per_block() { return detail::vsmem_helper_impl::vsmem_per_block; } template - CUB_RUNTIME_FUNCTION static constexpr int BlockThreads(PolicyT /*policy*/) + _CCCL_HOST_DEVICE static constexpr int BlockThreads(PolicyT /*policy*/) { return policy_t::BLOCK_THREADS; } template - CUB_RUNTIME_FUNCTION static constexpr int ItemsPerTile(PolicyT /*policy*/) + _CCCL_HOST_DEVICE static constexpr int ItemsPerTile(PolicyT /*policy*/) { return policy_t::ITEMS_PER_TILE; }