wgblas
    Preparing search index...
    • Throws unless the input matrices and the output matrix are all host arrays or all GPU-resident: a GPU-resident input needs a GpuMatrix output to write to, and a GpuMatrix output needs its inputs on the GPU too.

      Parameters

      • inputs: Record<string, unknown>

        name → input operand, e.g. { A, B }

      • outName: string

        the output's name, e.g. "C"

      • out: unknown

        the output operand

      Returns boolean

      whether they are all GPU-resident

      e.g. "C must be a GpuMatrix when A or B is a GpuMatrix." or "A and B must be GpuMatrix when C is a GpuMatrix."