TypeTensor - v0.1.0
    Preparing search index...

    Interface DeviceData

    Data handle for device memory

    Represents tensor data residing on a specific device. The actual data representation is device-specific and opaque to the core library.

    // CPU device might store ArrayBuffer
    // WebGPU device might store GPUBuffer
    // CUDA device might store device pointer
    interface DeviceData {
        byteLength: number;
        device: Device;
    }

    Implemented by

    Index

    Properties

    Properties

    byteLength: number

    Size of the data in bytes

    device: Device

    Device that manages this data