wgblas
    Preparing search index...
    • stageReadback for double-double data: copies hiBuffer then loBuffer into one pooled MAP_READ buffer, so extractResultPair (result.mjs) reads both halves with one map instead of two. On a GTX 1650 that took a 1,024-element result from 95 to 65 µs, and every size measured (up to 262,144 elements per half, on an Iris Xe too) at least as fast.

      Parameters

      • device: GPUDevice
      • commandEncoder: GPUCommandEncoder
      • hiBuffer: GPUBuffer

        needs COPY_SRC

      • loBuffer: GPUBuffer

        needs COPY_SRC

      Returns GPUBuffer

      pass it to extractResultPair