Show / Hide Table of Contents

    Class PinnedMemory

    pinned .NET managed memory (wraps a GCHandle)

    Inheritance
    System.Object
    PinnedMemory
    Implements
    System.IDisposable
    Namespace: Tensor.Host
    Assembly: Tensor.dll
    Syntax
    type PinnedMemory (gcHnd:GCHandle, size:int64)
        interface IDisposable
    Parameters
    Type Name Description
    System.Runtime.InteropServices.GCHandle gcHnd
    int64 size

    Constructors

    Name Description
    new: GCHandle * int64 -> PinnedMemory

    Implicit constructor.

    Properties

    Name Description
    property Ptr: nativeint

    pointer to storage array

    property Size: int64

    size of storage array in bytes

    Methods

    Name Description
    override member Finalize: unit -> unit

    Explicit Interface Implementations

    Name Description
    interface IDisposable with member Dispose: unit -> unit
    Back to top Generated by DocFX