![]() |
|
|||
File indexing completed on 2025-09-15 08:55:03
0001 //------------------------------- -*- C++ -*- -------------------------------// 0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details 0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0004 //---------------------------------------------------------------------------// 0005 //! \file corecel/data/detail/PinnedAllocatorImpl.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include <cstdlib> 0010 0011 namespace celeritas 0012 { 0013 namespace detail 0014 { 0015 //---------------------------------------------------------------------------// 0016 // Allocate pinned memory 0017 void* malloc_pinned(std::size_t n, std::size_t sizeof_t); 0018 0019 // Free pinned memory 0020 void free_pinned(void* ptr) noexcept; 0021 0022 //---------------------------------------------------------------------------// 0023 } // namespace detail 0024 } // namespace celeritas
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |