From 733c45957cb1604f3d349c0fa3cbfbe0c50be383 Mon Sep 17 00:00:00 2001 From: Rong Ou Date: Thu, 15 Jul 2021 09:40:29 -0700 Subject: [PATCH] fix align_up namespace --- include/rmm/mr/device/aligned_resource_adaptor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rmm/mr/device/aligned_resource_adaptor.hpp b/include/rmm/mr/device/aligned_resource_adaptor.hpp index dbb89709c..adb668395 100644 --- a/include/rmm/mr/device/aligned_resource_adaptor.hpp +++ b/include/rmm/mr/device/aligned_resource_adaptor.hpp @@ -209,7 +209,7 @@ class aligned_resource_adaptor final : public device_memory_resource { */ std::size_t upstream_allocation_size(std::size_t bytes) const { - auto const aligned_size = detail::align_up(bytes, allocation_alignment_); + auto const aligned_size = rmm::detail::align_up(bytes, allocation_alignment_); return aligned_size + allocation_alignment_ - rmm::detail::CUDA_ALLOCATION_ALIGNMENT; }