ILNumerics - Technical Application Development
SystemObject
ILNumerics.Core.MemoryLayerMemoryPoolMemoryHandle
ILNumerics.Core.MemoryLayerDeviceMemoryPool
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Top
Top
Top
Top
Inheritance Hierarchy
ILNumerics.Core.MemoryLayerMemoryPoolMemoryHandle
ILNumerics.Core.MemoryLayerDeviceMemoryPool
Namespace: ILNumerics.Core.MemoryLayer
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
The DeviceMemoryPool type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DeviceMemoryPool | Initializes a new instance of the DeviceMemoryPool class |
Properties
Name | Description | |
---|---|---|
Count |
The number of objects currently stored in this pool.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
Device |
The device this pool is associated with.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
MaxSize |
A hard limit of a number of bytes the memory pool is able to hold.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
MemoryType |
The memory type managed by this pool [readonly].
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
OOMCount |
Number of OOMs catched (and potentially forwarded) during allocation requests.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
ShrinkCount |
Number of shrinking operations performed by the pool so far.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
Size |
The sum in bytes of all objects currently hold in the pool.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
ThreadID |
The managed thread ID of the thread this pool was created by/for. All (non-readonly) requests to the memory pools must be made from this thread only!
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] |
Methods
Name | Description | |
---|---|---|
Free |
Returns a chunk of memory back to the pool.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
New(UInt64, Boolean) |
Request a memory chunk of minimal length length.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
New(UIntPtr, Boolean) |
Request a memory chunk of minimal length length.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
Shrink |
Shrinks the pool down to shrinkedSize by releasing old objects.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] | |
ToString |
Produces statistical information about this memory pool instance for informal messages.
(Inherited from MemoryPoolHandleT.)[ILNumerics Core Module] |
Fields
Name | Description | |
---|---|---|
m_device |
The device this memory pool belongs to.
(Inherited from MemoryPoolHandleT.) | |
m_memoryType |
Internal use
(Inherited from MemoryPoolHandleT.) | |
m_threadID |
Internal use
(Inherited from MemoryPoolHandleT.) |
See Also