wgblas
    Preparing search index...
    • Returns a cached GPUComputePipeline for the given shader, compiling it on first use. Pipelines are cached per device so reinitialization (new device) always recompiles.

      Parameters

      • device: GPUDevice
      • shaderName: string | string[]

        filename without .wgsl extension (e.g. "sscal"), or an array of filenames whose source gets concatenated into one module — WGSL has no #include, so this is how the double-double library (f64/dekker, f64/utils/add, f64/utils/multiply, …) gets reused by every d* routine's shader without duplicating it, e.g. ["f64/dekker", "f64/utils/abs", "f64/utils/add", "dasum"].

      • OptionalentryPoint: string = "main"

        which @compute function to run. Every module has exactly one, so this is optional: left at "main", it's omitted from the pipeline descriptor and WebGPU picks the module's sole entry point, whatever it's named.

      Returns Promise<GPUComputePipeline>