<cuda/std/memory>#

2026-10-01

2 min read time

Applies to Linux and Windows

This page documents the cuda::std memory utilities available in libhipcxx, including addressof, align, assume_aligned, and uninitialized memory algorithms.

Provided functionalities#

Extensions#

  • Most features are available from C++11 onwards.

  • cuda::std::addressof is constexpr from C++11 on if compiler support is available.

  • cuda::std::assume_aligned is 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.