wgblas
    Preparing search index...
    • calcWorkgroups with the clamp replaced by a throw — same arguments and same return shape, for shaders without a grid-stride fallback.

      Parameters

      • device: any
      • routine: string

        routine name, for the error message

      • rows: number

        row count (1D: element count)

      • Optionalcols: number

        column count; omit for a 1D dispatch

      Returns number | { x: number; y: number }

      when either dimension exceeds maxComputeWorkgroupsPerDimension