Runs the WebAssembly module on WebGPU (FP32, and FP16 when the adapter has shader-f16) on the 6
test pairs at 512 px / 9 layers and 384 px / 5 layers, then again with early stop (minimum covisibility 0.8,
decay 0.2 and 0), and compares each result with the native CPU backend on the same pixels and keypoints
(testdata/). FP32 must give the same matches, predicted points of confident queries within 0.01 px and
covisibility within 1e-4; in FP16 at most 3 matches, or 10 % of them, may differ (present on one side only).
With early stop, both precisions must also stop after the same layer. Then the shortlist of the 10 images at
512 px against the native one: the level-1 matrix within 1e-4 (1e-3 in FP16), the level-2 score of every pair
within 4 of 512 grid points (8 in FP16), and in FP32 the same pairs kept with k = 2.
Loading…