Interface IMemoryMapping<T>
- Namespace
- DotCompute.Abstractions
- Assembly
- DotCompute.Abstractions.dll
Represents a mapped memory region. This is a duplicate of DotCompute.Core.Memory.IMemoryMapping for backward compatibility.
public interface IMemoryMapping<T> : IDisposable where T : unmanaged
Type Parameters
T
- Inherited Members
- Extension Methods
Properties
IsValid
Gets whether the mapping is valid.
bool IsValid { get; }
Property Value
Mode
Gets the mapping mode.
MemoryMapMode Mode { get; }
Property Value
Span
Gets the mapped memory span.
Span<T> Span { get; }
Property Value
- Span<T>
Methods
Flush()
Flushes any pending writes.
void Flush()