.. _file_core_include_AlignedAlloc.hpp: File AlignedAlloc.hpp ===================== |exhale_lsh| :ref:`Parent directory ` (``core/include``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Low‑level aligned allocation helpers for host memory. .. contents:: Contents :local: :backlinks: none Definition (``core/include/AlignedAlloc.hpp``) ---------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_core_include_AlignedAlloc.hpp.rst 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 :ref:`exhale_class_classMemoryManager` for policy). Includes -------- - ``cstddef`` - ``cstdlib`` - ``new`` Included By ----------- - :ref:`file_core_include_MemoryManager.hpp` Namespaces ---------- - :ref:`namespace_core` - :ref:`namespace_core__detail` Functions --------- - :ref:`exhale_function_namespacecore_1_1detail_1aaa0f96708507c75ea70e6d71c4e83450` - :ref:`exhale_function_namespacecore_1_1detail_1a2485d97191b04d0e5d80dd96e6294508` Variables --------- - :ref:`exhale_variable_namespacecore_1_1detail_1a8c2bc577c67ba27ca0bc17a4ef05a078`