template<class TTarget>
TMemoryPool class
Public types
- using InfoType = MemoryPoolInfo
Public static functions
-
static auto GetPoolMemoryAlignment(TDevice<TTarget>*,
const InfoType&) -> size_
t -
static auto GetPoolMemorySizeGranularity(TDevice<TTarget>*,
const InfoType&) -> size_
t
Constructors, destructors, conversion operators
Public functions
- void Initialize(TDevice<TTarget>*, const InfoType&)
- void Finalize(TDevice<TTarget>*)
- auto Map() const -> void*
- void Unmap() const
-
void FlushMappedRange(ptrdiff_
t, size_ t) const -
void InvalidateMappedRange(ptrdiff_
t, size_ t) const - void SetUserPtr(void*)
- auto GetUserPtr() -> void*
- auto GetUserPtr() const -> const void*