Interface IBufferWrapper
- Namespace
- DotCompute.Abstractions
- Assembly
- DotCompute.Abstractions.dll
Implemented by buffer types that wrap another IUnifiedMemoryBuffer (for example, a typed view over an untyped allocation). Memory managers use this to reconcile the typed buffer instance handed back to a caller with the underlying buffer they actually track for allocation/deallocation accounting and pooling.
public interface IBufferWrapper
Properties
UnderlyingBuffer
Gets the underlying buffer this instance delegates to.
IUnifiedMemoryBuffer UnderlyingBuffer { get; }