Skip to content

Commit

Permalink
fix align_up namespace in aligned_resource_adaptor.hpp (#820)
Browse files Browse the repository at this point in the history
Fixes #819

Authors:
  - Rong Ou (https://github.com/rongou)

Approvers:
  - Mark Harris (https://github.com/harrism)
  - Conor Hoekstra (https://github.com/codereport)

URL: #820
  • Loading branch information
rongou committed Jul 17, 2021
1 parent eb2b991 commit 2179ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rmm/mr/device/aligned_resource_adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2179ffd

Please sign in to comment.