File AlignedAlloc.hpp¶
↰ Parent directory (core/include
)
Low‑level aligned allocation helpers for host memory.
Definition (core/include/AlignedAlloc.hpp
)¶
Detailed Description¶
Provides aligned_malloc(bytes, alignment)
and aligned_free(ptr)
used by the memory subsystem to satisfy cache‑line/SIMD alignment (≥64 B by default). When USE_PINNED_HOST
is defined and CUDA is available, host buffers may be allocated with cudaHostAlloc
instead (see Class MemoryManager for policy).
Includes¶
cstddef
cstdlib
new