Luxar Viewer API Documentation - v2026.10.22
    Preparing search index...

    What the page reports for one case.

    interface GpuSortReport {
        permutation: boolean;
        samePositions: number;
        descents: number;
        maxDescent: number;
        tieInversions: number;
        gpuMs: number | null;
        scratchBytes: number;
        adapter: string;
    }
    Index
    permutation: boolean

    The GPU order is a permutation of [0, count).

    samePositions: number

    Positions where the GPU and CPU orders agree exactly.

    descents: number

    Adjacent GPU-order pairs whose CPU keys step DOWN (should be ~0).

    maxDescent: number

    Largest such step, in CPU key buckets.

    tieInversions: number

    Adjacent pairs with equal CPU key but decreasing index (stability).

    gpuMs: number | null

    Mean ms per sort over back-to-back timed repeats.

    scratchBytes: number

    Scratch retained by this sorter after the sort.

    adapter: string