OmniSciDB
a5dc49c757
|
Quickly allocate many memory pieces by reserving them ahead of time. Calls to allocate() are thread-safe. More...
#include "Shared/SimpleAllocator.h"
#include <algorithm>
#include <exception>
#include <mutex>
#include <sstream>
Go to the source code of this file.
Classes | |
class | heavyai::allocator::detail::FastAllocator< T > |
Namespaces | |
heavyai | |
heavyai::allocator | |
heavyai::allocator::detail | |
Functions | |
std::runtime_error | heavyai::allocator::detail::outOfMemoryError (size_t n, size_t remaining, size_t capacity) |
Quickly allocate many memory pieces by reserving them ahead of time. Calls to allocate() are thread-safe.
Definition in file FastAllocator.h.