Public Member Functions | |
SetLimits () | |
Public Attributes | |
size_t | SlabMinSize [MemType::All] = {} |
size_t | MaxPoolableSize [MemType::All] = {} |
size_t | Capacity [MemType::All] = {} |
size_t | MinBucketSize [MemType::All] = {} |
size_t | MaxPoolSize = 16_MB |
size_t | CurPoolSize = 0 |
size_t | CurPoolSizes [MemType::All] = {} |
size_t | EnableBuffers = 1 |
int | PoolTrace = 0 |
Static Public Attributes | |
static constexpr const char * | MemTypeNames [MemType::All] |
Definition at line 65 of file usm_allocator.cpp.
|
inline |
Definition at line 95 of file usm_allocator.cpp.
References All, Capacity, std::cout, Device, EnableBuffers, Host, MaxPoolableSize, MaxPoolSize, MinBucketSize, PoolTrace, sycl::_V1::setw(), Shared, SharedReadOnly, and SlabMinSize.
size_t settings::SetLimits::Capacity[MemType::All] = {} |
Definition at line 79 of file usm_allocator.cpp.
Referenced by Bucket::Capacity(), and SetLimits().
size_t settings::SetLimits::CurPoolSize = 0 |
Definition at line 87 of file usm_allocator.cpp.
Referenced by Bucket::CanPool(), USMAllocContext::deallocate(), and USMAllocContext::~USMAllocContext().
size_t settings::SetLimits::CurPoolSizes[MemType::All] = {} |
Definition at line 88 of file usm_allocator.cpp.
Referenced by USMAllocContext::deallocate(), and Bucket::updateStats().
size_t settings::SetLimits::EnableBuffers = 1 |
Definition at line 90 of file usm_allocator.cpp.
Referenced by enableBufferPooling(), and SetLimits().
size_t settings::SetLimits::MaxPoolableSize[MemType::All] = {} |
Definition at line 76 of file usm_allocator.cpp.
Referenced by USMAllocContext::USMAllocImpl::allocate(), Bucket::MaxPoolableSize(), and SetLimits().
size_t settings::SetLimits::MaxPoolSize = 16_MB |
Definition at line 85 of file usm_allocator.cpp.
Referenced by Bucket::CanPool(), and SetLimits().
|
staticconstexpr |
Definition at line 68 of file usm_allocator.cpp.
Referenced by USMAllocContext::allocate(), USMAllocContext::deallocate(), Bucket::printStats(), and USMAllocContext::~USMAllocContext().
size_t settings::SetLimits::MinBucketSize[MemType::All] = {} |
Definition at line 82 of file usm_allocator.cpp.
Referenced by SetLimits(), and USMAllocContext::USMAllocImpl::USMAllocImpl().
int settings::SetLimits::PoolTrace = 0 |
Definition at line 93 of file usm_allocator.cpp.
Referenced by USMAllocContext::allocate(), USMAllocContext::USMAllocImpl::allocate(), USMAllocContext::USMAllocImpl::deallocate(), USMAllocContext::deallocate(), SetLimits(), Bucket::updateStats(), and USMAllocContext::~USMAllocContext().
size_t settings::SetLimits::SlabMinSize[MemType::All] = {} |
Definition at line 73 of file usm_allocator.cpp.
Referenced by SetLimits(), Bucket::SlabMinSize(), and USMAllocContext::USMAllocImpl::SlabMinSize().