wgblas
    Preparing search index...

    Function resolveEntry

    • Internal

      Resolves a single JSON spec entry to a concrete JS value. Dispatches on entry.value (literal), entry.special (named non-serialisable), or entry.scenario (named construction rule for arrays and param). A literal entry.value for an array-typed param (type is "float32array"/ "float64array") is coerced into the matching typed array — routines whose shape doesn't fit dependsOn/scenario's sizing formulas (e.g. sgemm, whose A/B shape depends on transA/transB rather than a static m/n pair) can still spell out exact arrays literally instead of relying on that machinery.

      Parameters

      • entry: any

        one entry from spec.invalid or spec.edge

      • paramName: any

        name of the parameter being tested (selects resolveParam vs resolveNdArray)

      • baselines: any

        current baseline args (needed to size arrays from dimensions and stride)

      • dependsOn: any

        spec.dependsOn array for the param under test — passed to resolveNdArray

      • type: any

        spec.type for the param under test — "float64array" builds a Float64Array

      Returns any

      the concrete JS value to substitute for the param under test