Memory access properties

Memory access properties#

2026-10-01

2 min read time

Applies to Linux and Windows

This page covers the memory access properties extended API, providing types and functions for annotating memory accesses with cache residence hints such as access_property, annotated_ptr, and discard_memory.

cuda::access_property

Represents a memory access property

libhipcxx 1.6.0 / CCCL 2.0.0 / CUDA 11.5

cuda::annotated_ptr

Binds an access property to a pointer

libhipcxx 1.6.0 / CCCL 2.0.0 / CUDA 11.5

cuda::apply_access_property

Applies access property to memory

libhipcxx 1.6.0 / CCCL 2.0.0 / CUDA 11.5

cuda::associate_access_property

Associates access property with raw pointer

libhipcxx 1.6.0 / CCCL 2.0.0 / CUDA 11.5

cuda::discard_memory

Writes indeterminate values to memory

libhipcxx 1.6.0 / CCCL 2.0.0 / CUDA 11.5