Properties for configuring a pinned memory pool. More...
#include <pinned_memory_resource.hpp>
Public Attributes | |
| std::size_t | initial_pool_size = 0 |
Initial size of the pool. Initial size is important for pinned memory performance, especially for the first allocation. (See BM_PinnedFirstAlloc_InitialPoolSize benchmark.) | |
| std::optional< std::size_t > | max_pool_size = std::nullopt |
Maximum size of the pool. std::nullopt means no limit. | |
Properties for configuring a pinned memory pool.
Definition at line 70 of file pinned_memory_resource.hpp.