Show / Hide Table of Contents

    Class TensorCudaStorage<'T>

    Tensor storage on a CUDA device.

    Inheritance
    System.Object
    TensorCudaStorage<'T>
    Implements
    Tensor.Backend.BLASModule.IBLASStorage
    ITensorStorage
    ITensorStorage<'T>
    ITensorCudaStorage
    Namespace: Tensor.Cuda
    Assembly: Tensor.dll
    Syntax
    type TensorCudaStorage<'T> (data:CudaDeviceVariable<'T>)
        interface IBLASStorage
        interface ITensorCudaStorage
        interface ITensorStorage<'T>
        interface ITensorStorage
    Parameters
    Type Name Description
    ManagedCuda.CudaDeviceVariable<'T> data
    Type Parameters
    Name Description
    'T

    Constructors

    Name Description
    new: int64 -> TensorCudaStorage<'T>
    new: CudaDeviceVariable<'T> -> TensorCudaStorage<'T>

    Implicit constructor.

    Properties

    Name Description
    property ByteData: CudaDeviceVariable<byte>

    data device variable as CudaDeviceVariable

    property Data: CudaDeviceVariable<'T>

    data device variable

    property DataSize: int64

    data size in elements

    property DataSizeInBytes: int64

    data size in bytes

    property Item: int64 -> 'T

    data item access

    Methods

    Name Description
    override member Finalize: unit -> unit

    Explicit Interface Implementations

    Name Description
    interface ITensorStorage<'T> with member Backend: TensorLayout -> ITensorBackend<'T>
    interface ITensorStorage with member Dev: unit -> ITensorDevice
    Back to top Generated by DocFX