wgblas
    Preparing search index...
    • The GPU buffer a routine writes its result into: a GpuVector's or GpuMatrix's own; for a host array the kernel overwrites entirely (overwritten, e.g. BLAS's beta = 0 with holdsOnlyMatrix), a fresh buffer with nothing uploaded (createOutputBuffer); otherwise the host array uploaded, ready for readback.

      Parameters

      • device: GPUDevice
      • operand:
            | Float32Array<ArrayBufferLike>
            | Uint32Array<ArrayBufferLike>
            | Int32Array<ArrayBufferLike>
            | { _buf: GPUBuffer }
      • label: string
      • overwritten: boolean

        whether the kernel writes every element before reading any

      Returns GPUBuffer