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 66 of file usm_allocator.cpp.
|
inline |
Definition at line 96 of file usm_allocator.cpp.
References All, Capacity, Device, EnableBuffers, Host, MaxPoolableSize, MaxPoolSize, MinBucketSize, PoolTrace, cl::sycl::setw(), Shared, SharedReadOnly, and SlabMinSize.
size_t settings::SetLimits::Capacity[MemType::All] = {} |
Definition at line 80 of file usm_allocator.cpp.
Referenced by Bucket::Capacity(), and SetLimits().
size_t settings::SetLimits::CurPoolSize = 0 |
Definition at line 88 of file usm_allocator.cpp.
Referenced by Bucket::CanPool(), USMAllocContext::deallocate(), and USMAllocContext::~USMAllocContext().
size_t settings::SetLimits::CurPoolSizes[MemType::All] = {} |
Definition at line 89 of file usm_allocator.cpp.
Referenced by USMAllocContext::deallocate(), and Bucket::updateStats().
size_t settings::SetLimits::EnableBuffers = 1 |
Definition at line 91 of file usm_allocator.cpp.
Referenced by enableBufferPooling(), and SetLimits().
size_t settings::SetLimits::MaxPoolableSize[MemType::All] = {} |
Definition at line 77 of file usm_allocator.cpp.
Referenced by USMAllocContext::USMAllocImpl::allocate(), Bucket::MaxPoolableSize(), and SetLimits().
size_t settings::SetLimits::MaxPoolSize = 16_MB |
Definition at line 86 of file usm_allocator.cpp.
Referenced by Bucket::CanPool(), and SetLimits().
|
staticconstexpr |
Definition at line 69 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 83 of file usm_allocator.cpp.
Referenced by SetLimits().
int settings::SetLimits::PoolTrace = 0 |
Definition at line 94 of file usm_allocator.cpp.
Referenced by USMAllocContext::allocate(), USMAllocContext::USMAllocImpl::allocate(), USMAllocContext::deallocate(), USMAllocContext::USMAllocImpl::deallocate(), SetLimits(), Bucket::updateStats(), and USMAllocContext::~USMAllocContext().
size_t settings::SetLimits::SlabMinSize[MemType::All] = {} |
Definition at line 74 of file usm_allocator.cpp.
Referenced by SetLimits(), Bucket::SlabMinSize(), and USMAllocContext::USMAllocImpl::SlabMinSize().