wgblas
    Preparing search index...
    • Maps the readback buffer, computes timestamps[1] - timestamps[0] (nanoseconds) and converts to milliseconds, then returns the kit to its device's pool. Returns undefined if ts is null (benchmark mode off).

      Parameters

      Returns Promise<number | undefined>

      elapsed GPU time in ms