<cuda/std/memory>#
2026-10-01
2 min read time
This page documents the cuda::std memory utilities available in libhipcxx, including addressof, align, assume_aligned, and uninitialized memory algorithms.
Provided functionalities#
cuda::std::addressof. See the C++ documentation of std::addressof.cuda::std::align. See the C++ documentation of std::align.cuda::std::assume_aligned. See the C++ documentation of std::assume_aligned.Uninitialized memory algorithms. See the C++ documentation https://en.cppreference.com/w/cpp/memory.
Extensions#
Most features are available from C++11 onwards.
cuda::std::addressofis constexpr from C++11 on if compiler support is available.cuda::std::assume_alignedis constexpr from C++14 on.
Restrictions#
construct_at is only available in C++20 as that is explicitly mentioned in the standard.
The specialized memory algorithms are not parallel.