Library capabilities and qualification boundaries#
cugeo-raster is a library of reusable raster primitives. The file-backed orthorectification and temporal-compositing workflows exercise those primitives early; they are convenience and acceptance layers, not the product boundary. Applications may instead compose raster sources, geometry plans, samplers, and streaming reducer sessions directly.
This document distinguishes four states:
available: the API and implementation are present in the named build;
runtime-qualified: a targeted test passed on the stated machine;
fixture-qualified: output passed an independent, immutable oracle;
unsupported: the library rejects the request without silently changing backend or semantics.
Build-time feature flags report availability, not qualification of every input format, dtype, layout, reducer, or workflow combination.
Python imagery uses CHW and stacked batches use NCHW independently of storage.
Ordinary allocating file reads return CuPy on the current device and stream;
host-only DatasetReader.read() allocates NumPy when no CUDA context, stream
or device codec is requested. Explicit NumPy output selects supported host
execution. Packed codec limits
remain physical stride limits. Non-overlap is a caller obligation. These
interface rules add no codec profiles or qualification to the matrices below.
SAFE catalog discovery, raw source metadata, products, assets and grouped
readers belong to core in every selection. extensions.sentinel2 reports only
linked surface-reflectance processing; it does not report SAFE or optional
physical-model availability. Raw SAFE pixels require the independently selected
JPEG2000 backend and admitted profiles.
Public surface matrix#
Capability |
Rust |
C ABI |
C++20 |
Python |
Host |
CUDA |
File-backed convenience |
|---|---|---|---|---|---|---|---|
dataset point sampling |
|
symbols always present |
header-only execution owner |
device |
unavailable |
nvTIFF stripped UInt8 RGB or UInt16 C3 / tiled UInt16 C1 Deflate; admitted nvJPEG2000 unsigned profiles |
|
affine sampling |
available |
available |
header-only owner |
available |
available |
|
caller composes native reads |
CRS reprojection |
default |
default |
header-only owner |
default |
available |
|
caller composes native reads |
native TIFF metadata and portable ROI reads |
available |
available |
header-only dataset owner |
available |
available |
not a device decoder |
|
explicit unchanged-dtype layout copy |
available |
available |
header-only host/CUDA owners |
available |
BIP/BSQ/general positive-stride host views |
|
caller composes explicitly |
RPC00B model parsing/evaluation |
available |
available |
header-only owner |
available |
available |
used by CUDA orthorectification geometry |
metadata tag 50844 available |
optional Sentinel-2 physical model (execution unqualified) |
|
|
|
|
explicit preparation requires separate artifact owning ERFA 2.0.1; no host grids |
requires core |
explicit metadata/calibration/DEM/geoid paths |
RPC point transforms |
available |
symbols always present |
header-only owner |
|
forward and reference/planner inverse |
|
optional native DEM resources |
RPC suggested output |
available |
available |
|
|
shared native suggestion, fixed/DEM height and finite coordinate charts |
host planning only |
no source imagery read |
Ordinary RPC reprojection |
|
retained plan/file execution |
|
|
complete pixels and bounded native file/DEM windows |
|
UInt8/UInt16/Float32; nearest/bilinear; scalar nodata; alpha/internal/external masks refused |
Specialist RPC image-plane correction |
available |
optional copied six-double constructor input |
point owner |
|
corrected points, inverse and |
corrected points; |
nonidentity plain RPC export refused |
Specialist RPC uncertainty |
available |
symbols always present |
|
|
native derivatives, constrained covariance and Gaussian LE90/circular CE90 |
|
explicit static ENU frame/epoch, independent covariance blocks; numerical and inference limits |
RPC00B + raster-DEM orthorectification |
|
symbols always present; feature required to execute |
header-only host/CUDA owners |
host arrays/file and CUDA arrays available |
|
|
host C/C++/Python; narrow Rust prepared-device lane |
streaming temporal reducers |
available |
available |
header-only host/CUDA owners |
available |
available |
|
separate host pipeline |
exact four-scene sample-to-minimum |
|
symbols always present; |
header-only prepared/execution owners |
|
unavailable |
|
caller composes explicitly |
sealed temporal file pipeline |
available |
no C pipeline API |
no dedicated C++ pipeline owner |
no Python pipeline API |
native uncompressed TIFF |
unsupported |
Rust acceptance convenience |
The C ABI keeps optional-feature symbols callable in every build. When the
required implementation is absent, the function returns CUGEO_RASTER_UNSUPPORTED
or CUGEO_RASTER_CUDA_UNAVAILABLE; it never invokes another backend as a fallback.
Call cugeo_raster_capabilities or cugeo.raster.diagnostics.capabilities() on the loaded artifact
before selecting an optional lane. The dictionary reports build inclusion through
extensions.sentinel2, nvjpeg2k and nvcomp; inclusion does not establish
runtime readiness. See feature diagnosis for its fields and the
missing-feature error contract.
Python’s one-shot cugeo.raster.warp_affine and cugeo.raster.warp.reproject
complete NumPy work before returning. For CUDA arrays they queue work on the
selected stream, order declared producer streams with events, and retain inputs,
output backing and execution resources through completion. Consumers on other
streams must establish their own dependency. A receipt request waits for
completion. Preparation and error reporting can also wait. See the
stream, completion and resource contract
for details. The ordinary cugeo.raster.orthorectify file workflow is
synchronous, including its CUDA route; see the Python API.
TemporalComposite is the existing streaming Composite plan under an
unambiguous name. Reusable ownership remains explicit through the
plan/session/execution classes in cugeo.raster.lowlevel and cugeo.raster.cuda.
All v1 descriptors require their exact published abi_size, known flag and
enum values, and zeroed reserved fields. Opaque plan/session/execution handles
carry ownership across the ABI. Unknown layouts, null pointers, insufficient
extents, invalid positive-stride spans, forbidden overlap, or incomplete
replay fail before the affected submission or final-output write; state from
earlier accepted submissions is not rolled back.
The memory-layout contract defines BIP, BIL, BSQ, pitch,
logical origins, residency, out precedence, and the scope of a zero-copy
claim. Layout and residency vocabulary does not broaden the qualified backend
matrix below.
The explicit layout-copy APIs are primitives, not automatic routes in native
or accelerated I/O. The synchronous host path validates both complete views before
writing, rejects overlap and unsupported residency without fallback, preserves
UInt8/UInt16/Float32 sample bits, and exposes the selected path plus copy,
conversion, allocation, transfer, and timing evidence in its receipt. Python’s
out=None convenience reports its output allocation; native Rust/C operation
receipts count only operation-owned temporaries. The focused
benchmark protocol measures only generated packed
host BIP/BSQ lanes and must not be projected onto CUDA, codecs, or pipelines.
The optional asynchronous CUDA path supports general positive sample-aligned
strides on one explicit stream: tight/pitched BIP and BSQ use specialized
routes, while BIL and spatial steps use cuda-generic-strided. It retains
caller owners through event completion and reports
event time separately from enqueue time. Its contract
and benchmark protocol do not imply an
accelerated decoder, file pipeline, or storage-to-device zero-copy route.
The targeted CUDA layout matrix passed on an RTX 6000 Ada (compute capability
8.9) with CUDA 13.1 for UInt8, UInt16, and Float32; 1/2/3/4/5/8 bands; both
conversion directions; tight and pitched BIP/BSQ; direct same-layout copies;
padding sentinels; exact/below-budget allocation; a non-default stream; context
restoration; repeated prepared execution; and early execution destruction. The
conversion-only benchmark is measured evidence for its recorded identity
packet, not a performance qualification or an end-to-end raster-I/O claim.
Raster I/O capability matrix#
The dimensions below are independent. A format parser does not imply a pixel decoder, device residency does not imply GDS, and a public symbol does not imply that every input accepted by its upstream codec is qualified. The portable TIFF decode profile states the host reader’s dtype-specific predictor limits, strips/tiles, byte orders and destination layouts; its qualification section names the tested cells.
The direct JPEG2000 dependency is public nvJPEG2000 0.12.0.58 for CUDA 13. Historical JPEG2000 qualification records retain their recorded runtime identities, including nvJPEG2000 0.11.0.51 on both RTX 6000 Ada and L40S. Those records do not establish qualification of the selected release.
Operation |
Format / container |
Compression |
Source / destination layout |
Residency |
Conversion |
Backend |
API layer |
Qualification status |
|---|---|---|---|---|---|---|---|---|
metadata inspection |
classic TIFF and BigTIFF; both byte orders; IFD/SubIFD |
inspected and reported, not decoded |
tiled/striped and contiguous/separate metadata |
host metadata |
none |
native TIFF parser |
Rust, C, C++, Python |
available; malformed/container/metadata fixtures covered |
scalar native window read |
classic TIFF and BigTIFF |
none, LZW, Deflate (predictors 1–3) |
tiled/striped, contiguous/separate source to caller BIP/BIL/BSQ/general positive strides |
host |
endian normalization, six-type storage conversion and scatter are reported; no color/radiometric conversion |
native TIFF |
Rust, C, C++, Python |
available; targeted tests cover the documented native types/containers, while real-fixture claims remain separately named |
scalar fractional/clipped window sampling and integer boundless nearest |
existing native TIFF profiles, explicit selected IFD |
existing native host compression |
six native sample types to positive-stride HW/CHW output; band order/repetition retained |
host |
six-by-six native storage conversion after source-typed sampling; new bilinear has no axis reduction; direct destination explicit fills |
native TIFF plus shared host sampler |
Rust, C, C++, Python |
pinned GDAL Warp/analytic matrix and Rasterio API observations; ordinary read-filter conventions are distinct, including boundless resizing |
same-dataset |
classic TIFF and BigTIFF |
none, LZW, Deflate (predictors 1–3) |
same native source matrix to ordered caller BIP/BIL/BSQ/general positive strides |
host |
same as scalar native read |
native TIFF batch |
Rust, C, C++, Python |
available; exact correctness/capacity qualified; latest 4x result is revision-bound as recorded below |
explicit layout copy |
no file/container |
not applicable |
host: BIP/BIL/BSQ/general; CUDA: tight/pitched BIP/BSQ |
host or CUDA device, by entry point |
unchanged-dtype layout copy only |
owned host / owned CUDA |
Rust, C, C++, Python |
host available; targeted CUDA matrix runtime-qualified on the stated RTX system |
four-scene sample-to-minimum |
no file/container |
not applicable |
four UInt16 C3 tight/pitched BIP sources to one matching BIP output plus byte status |
CUDA device |
affine nearest/bilinear sample fused directly into bandwise minimum; no intermediate/layout conversion |
owned CUDA exact leaf |
Rust, C, C++, Python |
exact closed contract; the modular pipeline is the default; exact fixture tests only, no performance measurement |
direct scalar nvTIFF decode |
classic little-endian base IFD; stripped C3 or tiled C1; native parser preflights the targeted cell before nvTIFF |
none/predictor 1 for stripped C3; Deflate/predictor 2 for tiled C1 |
contiguous UInt8 RGB C3 / UInt16 C3 strips or UInt16 C1 tiles to caller tight/pitched BIP |
CUDA device |
unchanged pixels; no layout, dtype, color, orientation, or radiometric conversion |
direct nvTIFF 0.9 |
Rust, C, C++, Python |
public one-shot API with targeted pixel and lifecycle tests documented in the direct nvTIFF evidence; BigTIFF, big endian, overviews, other dtype/band/codec combinations outside the listed cells, separate planar, and non-1 orientation reject explicitly; Deflate corruption may return success with undefined pixels |
retained TIFF source decode and nearest sampling |
little-endian classic TIFF; selected native image or resolved external byte mask; physical IFD from the native owner |
none/LZW/Deflate; separate mask admission |
contiguous UInt8/UInt16/Float32, up to four gray/RGB components; source-type pitched BIP |
CUDA device |
unchanged direct samples or the shared nearest sampler; dataset and sidecars retained across close/unlink/rebind |
existing nvTIFF pool and CUDA sampling |
Rust/C/C++ and private Python adapter |
independent GDAL pixels and masks cover byte/UInt16 alpha, external byte codecs, nodata/NaN and nonzero overview IFD; supplied generic resources and completion retention are checked. ordinary nearest pixels compose six-type destination conversion and source-domain selection/fill with scalar HW or ordered/repeated CHW, positive strides, native overview/base-mask fallback, full backing/known record budgets and failed-close retry; internal uncompressed bits use GPU unpack, compressed bits refuse; SDK opaque allocation/I/O/waits and compressed integrity remain unexposed |
prepared/wrapped nvTIFF decode |
native |
none/predictor 1 for stripped C3; Deflate/predictor 2 for tiled C1 |
native-metadata-validated contiguous UInt8 RGB C3 / UInt16 C3 strips or UInt16 C1 tiles to caller tight/pitched BIP |
CUDA device |
unchanged pixels; no layout, dtype, color, orientation, or radiometric conversion |
prepared direct nvTIFF 0.9 |
Rust, C, C++, Python; Rust orthorectification device-file wrapper |
public prepared API with targeted fixture tests; Deflate corruption may return success with undefined pixels; the orthorectification pitched-ROI composition is separately narrow |
true multi-region nvTIFF device read and explicit decoder pool |
classic TIFF/base-IFD cell of the direct nvTIFF qualification |
none, predictor 1 |
contiguous UInt8 RGB or UInt16 C3 source to disjoint caller tight/pitched BIP slots |
caller CUDA outputs plus retained bounded device/pinned resources |
none; forced backend, no split or fallback; pool selector is explicit round-robin |
direct nvTIFF 0.9 through generic resources/admission |
Rust, C, C++, Python public experimental advanced surface |
UInt8 format/lifecycle tests; UInt16 qualified explicit two-owner scheduling: two exact runs with five fresh-owner cold samples, five warmups, and 30 warm samples each passed the pre-frozen stability gate. For UInt16, deterministic two-stream mapping/backpressure/failure isolation and bounded cugeo-raster-owned requested bytes are covered. Configured capacity is not observed allocation, foreign memory is unknown, and no automatic backend, pool-size or concurrency default selects this surface |
batched nvCOMP Deflate TIFF read |
many classic TIFF or BigTIFF sources; little-endian tiled base or overview IFD |
Deflate (8 or 32946), predictor 1 or 2 |
BlackIsZero UInt16 C1 windows to disjoint six-type native positive-stride CUDA arrays |
pinned staging and retained device scratch, from the driver or optional caller device and pinned resources; caller CUDA outputs |
six-type destination storage conversion; tiles shared by windows of one source are decoded once |
nvCOMP 6 batched Deflate plus cugeo-raster verification, predictor, and copy kernels |
Rust, C, Python |
requires the |
scalar nvImageCodec decode |
nvImageCodec codestream; TIFF is the exercised input |
extension-dependent; no public compression matrix |
interleaved caller tight/pitched output |
CUDA device |
requests unchanged sample/color semantics; no fallback |
nvImageCodec 0.9, default or caller-path extension discovery |
Rust, C, C++, Python |
compatibility API available; narrow fixture correctness and future-before-event lifecycle qualified; not a general public runtime-qualified lane |
explicit JPEG2000 source |
one JP2 container or raw J2K codestream; GeoJP2 plus the bounded UTM GMLJP2 RectifiedGrid profile |
lossless checked-in fixtures, pinned real Sentinel-2 L2A/L1C B02 and the authenticated 13-band L1B packet; lossy not supported |
Nonzero equally sized unsigned components, 1–16-bit precision, to caller pitched BIP; backend capability and checked extents apply |
CUDA device |
none: component order and color semantics remain unchanged |
optional direct nvJPEG2000 0.12.0.58; explicit nvImageCodec comparator remains separate |
Rust, C, header-only C++20 owners, and Python under |
owned direct prepare/enqueue/query/wait/retryable-close path; exact L2A and L1C B02 native, padded native ROI, and discard-level 1–4 qualification on the stated RTX host |
Sentinel-2 SAFE catalog and band views |
unpacked single-granule compact L1C/L2A SAFE, baseline 04.00 or later; spectral JP2 bands only |
as the explicit JPEG2000 source |
individual UInt16 bands or raw UInt16 NCHW window batches of selected bands on one grid |
host metadata; reads as the JPEG2000 route |
none; source offset state, optional finite conversion pair, and optional special codes are reported; raw DN is unchanged |
native |
Rust, C, header-only C++20 owners, and Python |
JP2 size and any embedded georeference must agree with the tile grid and CRS; DTDs rejected; references must resolve inside the product; authentic L1C 05.12 B01/B02/B05/B8A/B10 metadata and full, window, and level-1 device comparisons, including an installed nvjpeg2k wheel, used Rasterio’s GDAL 3.12.4 build for their metadata and pixel references and do not establish a pass for the current GDAL 3.8.4 split-reference qualifier; generated L1C/L2A host metadata tests do not establish device or authentic-product qualification; authentic L2A T18TWL 05.12 B02/B05/B8A/B01 spectral reads matched GDAL 3.8.4 in 40 exact device comparisons on L40S, including 16 reductions and reads after catalog close; generated L1C common-grid windows with repeated bands and windows matched GDAL 3.8.4 on L40S; ZIP and multi-granule unsupported; see the input layout; standalone L1B is listed separately |
L1C numeric SAFE subdatasets |
unpacked compact L1C product with 10 m, 20 m and 60 m grids |
spectral JP2 |
exact UInt16 scalar HW, indexed CHW or uniform NCHW device batches |
host discovery and metadata, CUDA reads |
none |
native SAFE group owner and nvJPEG2000 |
typed Rust/C/C++ identifiers and Python Rasterio-style canonical names |
authentic T18TWL baseline 05.12 numeric groups matched Rasterio 1.4.4 with GDAL 3.8.4 on L40S using an explicit decoder pool |
L2A numeric SAFE subdatasets |
unpacked compact L2A product with 10 m, 20 m and 60 m grids |
spectral and auxiliary JP2 required by the selected grid |
exact UInt16 scalar HW, indexed CHW or uniform NCHW device batches |
host discovery and metadata, CUDA reads |
stored samples, with auxiliary values widened to UInt16 |
native SAFE group owner and nvJPEG2000 |
typed Rust/C/C++ identifiers and Python Rasterio-style canonical names |
authentic T18TWL baseline 05.12 numeric groups matched Rasterio 1.4.4 with GDAL 3.8.4 on L40S using an explicit decoder pool; discovery requires every GDAL member to be referenced by the product |
Sentinel-2 SAFE true color |
referenced 10 m L1C or 10/20/60 m L2A TCI JP2; grouped TCI at 10 m |
nvJPEG2000 for grouped reads |
raw UInt8 RGB with ordered indexed reads on the stored grid |
host metadata and CUDA device pixels |
no spectral radiometry or automatic masks |
native SAFE reference and tile grid, validated JP2 source |
Rust, C, C++ and Python; Python also exposes canonical TCI names |
grouped 10 m reads for authentic L1C and L2A T18TWL baseline 05.12 matched Rasterio 1.4.4 with GDAL 3.8.4 on L40S using an explicit decoder pool; generated 20/60 m L2A standalone reads matched GDAL 3.8.4 on L40S |
Sentinel-2 SAFE auxiliary asset views |
stored L1C 10 m TCI; L2A 10/20/60 m TCI and 20/60 m SCL, CLD, SNW, AOT and WVP |
nvJPEG2000 for device pixels |
raw UInt8 RGB or single-component UInt8/UInt16, with indexed reads |
host metadata and CUDA device pixels |
asset-specific nodata, units, quantification and class labels; stored samples |
native SAFE references and tile grid, validated JP2 source |
Rust, C, C++ and Python; Python also exposes canonical TCI names |
Standalone views read native-grid windows. The authenticated L2A product passed all 13 standalone asset and resolution pairs on L40S |
prepared JPEG2000 direct path |
bounded immutable JP2/raw-J2K compressed-byte snapshot, never a path reopen |
explicit direct backend only |
native-resolution full/arbitrary ROI or reduced-resolution full/tile-aligned ROI to caller pitched BIP |
CUDA device |
none; zero cugeo-raster output allocation and no fallback |
direct nvJPEG2000 0.12.0.58 |
feature-independent planning plus optional Rust/C/Python execution owners and typed receipts |
compile/static/host lifecycle rails plus exact L2A/L1C B02 native/ROI/reduced CUDA runtime and fresh-sdist installed-wheel passes; reduced tile-subset execution is exact on authenticated L1C B02; CUDA runtime scratch allocators may host-block and controller wait is unknown; misaligned reduced ROI, nonzero reference origin, other GMLJP2, signed/subsampled/mixed components, host/BSQ output, and encoding reject or remain unsupported |
multicomponent JPEG2000 decode |
synthetic JP2/raw J2K |
lossless, uniform one-bit/eight-bit C1/C3/C4/C9 |
full-image tight/padded UInt8 BIP; source component order |
CUDA device |
one byte per one-bit sample, value 0 or 1 |
released nvJPEG2000 0.12.0.58 |
Rust/C full-image execution and thin Python; native metadata needs no decoder |
exact GDAL 3.8.4 samples on L40S; C9 native ROI, ordered BIP batch and translated nearest affine; larger C9 JP2 discard-one grid; UInt16 C3 regressions pass, C1/C4/C9 UInt16 unqualified; no authentic-mask, quality-flag, subset or encoding claim |
ordinary JPEG2000 resolution selection and affine read |
supported JP2/raw-J2K direct-decode profiles through |
lossless JPEG2000 |
automatic codec resolution or explicit base; exact selected grids use reduced tile partitions; base full-source affine uses disjoint destination partitions; residual/windowed affine is scalar |
CUDA device throughout decoded pixels |
direct selected resolution when exact; otherwise owned bilinear/nearest affine |
direct nvJPEG2000 plus optional owned CUDA affine |
ordinary synchronous Python plus Rust/C/Python advanced owners |
authenticated L1C half-size auto path exactly matched GDAL’s discard-1 hash and measured 303.435 ms median versus GDAL 366.593 ms on the stated RTX host; explicit base path retains the distinct exact affine result; no decoded-pixel host round trip, stitch, or fallback |
scalar CUDA JPEG2000 windows |
existing direct-decode profiles |
lossless JPEG2000 |
bounded fractional/clipped nearest and per-axis non-reducing bilinear; integer boundless nearest, including wholly outside |
CUDA device |
selected-grid map with physical coverage and decode halo; source-typed sampling, six-type ordinary destinations |
direct nvJPEG2000 and shared native CUDA sampling |
Rust/C/C++ preparation and ordinary Python reads |
focused pinned GDAL 3.8.4 Warp plus analytic pixels, Rasterio 1.4.4 shapes/arguments on L40S; native/reduced odd grids, padded output, explicit stream and retained ownership; ordinary RasterIO filter/mask equivalence and fractional batches are not promised |
ordinary native JPEG2000 nearest pixel finishing |
admitted native JP2/raw J2K and SAFE band views |
direct nvJPEG2000 source profiles |
six-type native destination scalar HW or ordered/repeated CHW, positive strides and padding |
CUDA device |
bounded per-band mask fill; explicit integer-boundless padding only; raw samples preserved without fill |
retained decoder and shared CUDA mask/finishing engine |
Python |
GDAL 3.8.4 source pixels and masks, separate Rasterio 1.4.4 fill reference; default/current/explicit streams, complete known backing/record budgets, pending retirement and partial submission draining; AUTO or one partition, explicit multiple partitions refuse; no decoded host fallback |
scalar CUDA TIFF windows |
existing classic little-endian base IFD profiles |
uncompressed stripped UInt8 RGB C3 or UInt16 C3; tiled BlackIsZero UInt16 C1 Deflate/predictor 2 |
bounded fractional/clipped nearest and per-axis non-reducing bilinear; integer boundless nearest, including wholly outside |
CUDA pitched BIP, scalar HW or CHW |
physical-image map, integer ROI and full halo; source-typed sampling, six-type ordinary destinations |
direct nvTIFF and shared native CUDA sampling |
Rust/C/C++ preparation and ordinary Python reads |
pinned Warp/analytic pixels and Rasterio dimensions; explicit stream, padding, validity and retained ownership; no extra IFD, profile, layout conversion or fractional batch support |
private JPEG2000 comparator evidence |
historical immutable-snapshot direct and retained nvImageCodec comparison |
representative lossless F1 corpus; lossy remains fixture-only |
historical full/ROI/tile selection to caller pitched BIP |
CUDA device |
none; exact oracle comparison and no fallback |
direct nvJPEG2000 0.11.0.51 and retained nvImageCodec 0.9.0.20 |
isolated experiment and benchmark only |
comparison evidence only; it does not substitute for the owned product path or actual Sentinel-2 runtime qualification |
exact-extension multi-ROI nvImageCodec decode |
one native TIFF base IFD through the retained exact nvTIFF extension |
only the tested fixture lane |
contiguous UInt16 C3 source to nonoverlapping caller pitched BIP slots |
CUDA device; default nvImageCodec allocator is opaque to cugeo-raster |
none; no split or fallback |
nvImageCodec 0.9 private prepared path |
crate-private Rust prototype |
exact scalar/eight-ROI and 64-request 128-square/512-square fixture tests; no public C or Python surface and no scheduler admission |
native GeoTIFF/BigTIFF write |
classic TIFF or BigTIFF; strips or tiles |
none, LZW, Deflate |
positive-stride host BIP/BIL/BSQ/general; UInt8/UInt16/Int16/Int32/Float32/Float64 input and storage; explicit gray/RGB/alpha meaning |
host |
exact declared EPSG grid, area/point, nodata/NaN, scale/offset, ExtraSamples, RPC00B; bounded host staging and creation dtype conversion |
native TIFF assembler and portable codecs |
Rust, C, header-only C++20, Python |
host implementation and exact native reopen tests pass; representative GDAL reopen is local oracle evidence, not a runtime dependency |
native COG write |
classic TIFF or BigTIFF, tiled, early IFD/tables, smallest overview imagery first |
none, LZW, Deflate |
same host scalar/band floor; explicit nearest generated overview pyramid |
host plus bounded disk spool |
base grid/RPC and per-level nodata/scale/offset/color metadata; alpha/nodata validity |
native TIFF/COG assembler |
Rust, C, header-only C++20, Python |
exact native pyramid tests pass and GDAL’s COG validator accepts the representative output; CUDA COG input, separate mask IFDs, and supplied overview arrays reject/not exposed |
georeferenced JP2 write |
JP2 around a raw reversible J2K codestream; GeoJP2 plus versioned owned metadata UUID |
lossless JPEG2000 |
UInt8/UInt16 Gray or source-order RGB; width and height each at least 2; positive-stride host or CUDA input; native pitched planar/interleaved CUDA descriptors or GPU packing |
direct nvJPEG2000 device encode; host input has explicit whole-image H2D; compressed codestream returns to host |
EPSG grid, area/point, nodata/NaN, scale/offset, color, RPC00B recovered without sidecar |
native JP2/GeoJP2 assembler plus direct nvJPEG2000 0.12.0.58 |
Rust, C, header-only C++20, Python |
all four live Gray/RGB UInt8/UInt16 device cells pass exact GDAL pixels, owned metadata reopen, and Compute Sanitizer on RTX 6000 Ada; stage timings are receipted; performance against GDAL and Rasterio is not measured |
CUDA GeoTIFF write |
classic TIFF or BigTIFF; strips or tiles |
none, LZW or Deflate, with the compatible nvTIFF Predictor tag preserved |
positive-stride UInt8/UInt16/Int16/Int32/Float32/Float64 input, UInt8/UInt16/Float32 storage, C1 or C3-C5. Same-dtype tight BIP goes directly to nvTIFF. GPU packing casts to the creation dtype when needed |
caller CUDA device input; nvTIFF finalizes directly to the atomic temporary file; grayscale with extra bands may move compressed blocks within that file using at most 64 KiB of host staging |
nvTIFF owns encoding; creation metadata is passed to nvTIFF; native color metadata finalization preserves the IFD before pixels and verifies every declared field |
direct nvTIFF 0.9 codec leaf plus native TIFF assembler |
Rust, C, header-only C++20, Python |
the dtype/band/codec/layout/container matrix checks exact GDAL/native pixels and metadata; receipts expose ten write stages; performance against GDAL and Rasterio is not measured |
standalone Sentinel-2 L1B granule catalog and band views |
standalone PSD15 L1B granules; directory or original granule XML; spectral JP2 bands only |
as the explicit JPEG2000 source |
one selected UInt16 C1 band per reader; no stacking of unlike grids |
host metadata; reads as the JPEG2000 route |
none; raw DN is unchanged; numeric scales/offsets are convenience defaults, not physical calibration |
native |
Rust, C, header-only C++20 owners, and Python |
unsigned 13-bit raw DN, independent class dimensions and POINT interpretation; affine/CRS/Q/conversion are absent; source identity/footprint/angle text is retained as source metadata; DTDs rejected; used metadata and spectral asset references must resolve inside the product; first-party metadata validates under pinned external PSD15.2/15.1 closures; compact 13-band full/window/discard-1/2 reads, padded caller output, explicit stream and retained readers match GDAL on L40S; the authenticated S2B/D06/PB05.12 L1B packet passes all 13 bands, 36 GDAL-exposed reductions, refresh and retained-reader windows: 88 exact device comparisons / 49,247,566 pixels on L40S; ZIP and multi-granule unsupported |
The authentic L1B raw-reader qualification uses independent 2552 by 2304, 1276 by 1152 and 425 by 384 dimensions, unsigned 13-bit storage, original XML and GDAL 3.8.4 JP2OpenJPEG. It preserves absent map/calibration fields and POINT interpretation. GDAL footprint GCPs remain outside the public geometry interface. Native level 3 for the 60-class bands has no exposed GDAL overview and remains unqualified. Sensor geolocation, physical calibration and broader profile coverage are not established by this raw-DN result.
The public experimental generic nvTIFF surface has a concrete batch ABI and conservatively reserves both configured resource hard caps plus caller-output capacities. It has no codec scratch-size query and cannot turn unknown foreign or bypass scope into a measured zero, so it makes no total-memory claim. The nvImageCodec batch remains crate-private because it substitutes an internal stream for extension allocator callbacks and retains opaque default allocation. Neither route is an automatic fallback for native I/O or for the other codec.
Metadata-complete GeoTIFF, COG, JP2, and exact CUDA GeoTIFF writing are available at the exact rows above. Fields outside the public profile (descriptions, units, arbitrary metadata domains or raw tags, and separate mask arrays) are not accepted and therefore cannot be silently discarded. The contract is in metadata-complete raster writing.
The optional owned direct JPEG2000 path retains one bounded immutable host snapshot, parsed codestream, and decoder across submissions. Its explicit nvImageCodec comparator still creates and destroys the codec instance, codestream, and decoder for every scalar read. The ordinary JPEG2000 route is direct nvJPEG2000. The L1C qualification records the pinned Sentinel-2 L1C input it was checked on, without broadening the profile. Retained nvImageCodec is a comparator only: it fails the matched reduced-resolution case and misses three prepare-time rejection boundaries.
The exact nvImageCodec request/result, timing and timeout contract is documented separately in the multi-ROI experiment. The 64-request 128-square and 512-square rail is qualification infrastructure. Direct nvTIFF is the sole public explicit accelerated TIFF route and nvImageCodec’s multi-ROI path stays private. Neither widens the direct nvTIFF support cells, replaces the portable host floor, or implies automatic routing.
External oracle coverage#
cugeo-raster does test against GDAL, but keeps those tests outside the product dependency graph. The current oracle layers are intentionally distinct:
Oracle layer |
Current use |
Current boundary |
|---|---|---|
direct GDAL Python ( |
TIFF metadata/window pixels, CPU I/O comparisons, JP2OpenJPEG fixture generation/reopen, and warp/orthorectification reference work |
available on the current development host as GDAL 3.8.4; never a runtime fallback |
Rasterio |
independent Python-ecosystem I/O and |
installed only in the benchmark environment used by retained campaigns; not required by the default development interpreter or package |
native linked GDAL C/C++ smoke |
compiles the CUDA sampler/reprojection/nvTIFF oracle executable and compares device results with GDAL-provided bytes |
the latest architecture run reports only this row as |
NumPy and checked-in bytes/hashes |
pixel-contract, reducer, analytic geometry, and immutable lossless codec truth |
complements GDAL; does not establish general file-format support |
The direct benchmark reports gdal-direct-python. The characterization
normalizer maps the gdal-python-rasterio spelling in older raw evidence to
that identity without rewriting the source artifact.
For JPEG2000, qualification explicitly selects GDAL’s JP2OpenJPEG driver
rather than accepting any installed JPEG2000 driver. For warping and RPC/DEM
work, the oracle configuration must record center/corner convention, output
grid, resampler, nodata/mask policy, georeference sources, RPC DEM, vertical
reference, and approximation threshold before results are comparable.
Orthorectification contract#
The orthorectification library path combines an RPC00B ground-to-image model with an explicit destination grid and an explicit raster DEM. cugeo-proj owns standard horizontal CRS operations; cugeo-raster owns destination pixel generation, DEM sampling, sensor evaluation, exact imagery-window reduction, image sampling, status, and receipts.
The qualified first contract is:
UInt8, UInt16, or Float32 imagery;
Int16, Int32, Float32, or Float64 DEM storage;
explicit DEM scale/offset, nodata, units, and vertical reference;
WGS84 ellipsoidal heights in metres only;
nearest or bilinear imagery sampling, with normalized physical-edge weights;
nearest or strict bilinear terrain sampling;
separate geometry and sample phases, allowing exact ROI decode between them;
caller-owned source, destination, validity, status, scratch, and CUDA stream;
immutable plans and separate prepared objects for concurrent CUDA work.
Host array execution and the bounded native file path are available with the
orthorect feature. The host file path reads exact uncompressed TIFF windows,
supports all four DEM storage types above in either TIFF byte order, reuses an
explicit buffer arena, and records the selected windows and active-payload
bytes. It does not apply TIFF mask IFDs, choose overviews, or decode compressed
TIFF.
The ordinary synchronous Python call accepts image and DEM paths or open
DatasetReader objects and writes caller-owned NumPy or CuPy/CUDA Array
Interface output. It delegates to these same host/CUDA owners rather than a
GDAL/Rasterio fallback. Its synthetic analytic host and live-RTX CUDA package
tests pass, including a pitched two-row caller-owned device output from an
installed feature wheel; this is implementation/runtime evidence, not a real
sensor qualification.
Orthometric DEMs, such as 3DEP NAVD88 tiles, are converted per sampled
point rather than by preprocessing the DEM. The caller declares the DEM’s
compound CRS (for example EPSG:6318+5703) and a PROJ grid directory. A
decimal-year coordinate epoch is required when the selected operation is
time-dependent. cugeo-proj resolves one 3D operation to WGS84(G2139) (GEOID18
grid shift, then the time-dependent NAD83(2011) -> ITRF2014 Helmert) and
transforms each point’s X/Y/height together before RPC evaluation. Host
geometry uses cugeo-proj’s synchronous host transform; CUDA geometry enqueues the
prepared route on the caller’s stream, and its uploaded grid and workspace
count toward the reported cugeo-proj device bound. Rows outside the geoid grid
fail with a coordinate status. The declared horizontal CRS replaces the DEM
file’s EPSG tag. Because cugeo-proj’s 2D plans cannot convert between WGS84 and
NAD83(2011), the output grid must use the DEM’s geographic horizontal CRS;
projected DEMs are rejected. The NAD83(2011) realization of the DEM and the
RPC’s WGS84 frame are caller assumptions, not established facts. See examples/orthorectify_navd88.py.
The low-level CUDA geometry and sampling path has a targeted runtime-qualified lane on an RTX 6000 Ada using non-default streams: an analytic projected case with Float64 DEM, UInt16 C1 imagery, and nearest image sampling. It covers cugeo-proj composition, exact ROI reduction, detailed geometry failure counts, host/GPU pixel and status agreement, context and capacity validation, separate prepared objects, and query/wait/release under the expected current context. It does not runtime-cover the full image/DEM dtype matrix, bilinear sampling, antimeridian or explicit-footprint cases, context-switched destruction, a real sensor, or performance. The final CUDA sample execution exposes query/wait; the detailed receipt belongs to the preceding geometry result.
A prepared-device file executor supports native host DEM and UInt16 C1 image
ROI reads plus explicit H2D and CUDA geometry/sampling with
cuda,orthorect. It requires a caller-owned device arena and one explicit
non-default stream. A focused RTX test passed its analytic exact-ROI output
against the native host oracle. The same executor retains the forced prepared
nvTIFF UInt16 C3 imagery ROI route with cuda,nvtiff,orthorect. It is not general
GPU file support: that targeted RTX test passed exact-ROI output against the
native host path and an external GDAL oracle for pitched-BIP UInt16 C3 imagery,
while preserving source/destination layout and direct-route accounting with
zero layout-conversion, copy, or device-to-device bytes through the additive
execute_detailed V2 receipt path; the original execute receipt remains
source-compatible. BSQ, BIL, and
general-strided sampling remain supported by the lower-level sampler but are
not nvTIFF decode destinations; they are rejected here without conversion or
fallback. nvImageCodec, RMM ownership, device DEM decode, and GDS remain
unsupported. nvTIFF’s
internally owned decoder workspace is not reported by its API and is outside
cugeo-raster’s active-payload accounting. The additive generic device-read
surface routes observed nvTIFF device and pinned requests through
retained hard-capped resources and a separate admission gate, but its unknown
foreign-allocation bypass does not qualify this public
file executor’s peak.
The analytic RPC/DEM fixtures establish numerical, tiling, host, and CUDA C1 behavior, and the installed feature wheel exercises the ordinary CUDA facade. Real-sensor orthorectification is not qualified: no real sensor image with an RPC model is a fixture. See tests/data/ortho/REAL_FIXTURE_GATE.md.
Temporal reducer contract#
The low-level temporal composite session ingests one already-aligned candidate
tile at a time. It does not retain candidate imagery or create a scene x height x width x bands cube. Pixel-dependent state has an exact byte and alignment
query. Host sessions may use caller-owned workspace and finalize directly into
native output rasters with positive, element-aligned strides. CUDA sessions use
caller-owned device state, one four-byte device validation scratch word with
alignment four, and a selected stream, including defaults. Rust, C, and Python expose
the prepared/session/completion lifecycle. The queried layout is authoritative
for the implementation, but it is not claimed to be the theoretical minimum
state for every CUDA reducer. Candidate-status bytes are validated
asynchronously on the session stream; an unknown value gates its candidate
update and is reported before a pass transition or final output write.
Available reducer families are:
first valid, last valid, per-band minimum, and per-band maximum;
checked sum, count, mean, population/sample variance, and standard deviation;
argmin, argmax, lexicographic best pixel, and maximum-index selection;
exact scalar quantile, medoid, and ordered gap fill.
Exact scalar quantile uses the lower observed rank
floor(q * (count - 1)). Its 4-bit radix state takes 2 passes for UInt8, 4 for
UInt16, and 8 for ordered Float32. Medoid takes two passes. Every replay pass
must repeat stable scene identity, order, and schema. Host replay additionally
checks a content fingerprint. CUDA multipass candidates require a
caller-recomputed 256-bit replay attestation over the exact bit patterns of
logical values, validity, status, key, QA, quality/score, and metric content together
with dtype, dimensions, bands, presence, and positive-stride layout. cugeo-raster
compares the four attestation words and schema between passes; it does not hash
device memory independently, so reusing a stale or forged token after mutation
violates the low-level contract and cannot be detected.
Reducer numerical rules are deliberately strict:
invalid candidates do not update state;
non-finite candidate values or required keys make the final pixel a numerical failure; later candidates cannot recover it to valid output;
positive and negative zero compare equal, preserving the stable tie winner;
integer sums are checked UInt64 and counts are checked UInt32 internally;
overflow produces numerical failure, fill, invalid output, and no provenance;
population variance is
M2 / count, with zero for one observation;native integer finalization clamps and rounds ties to even;
selection ties use the declared time and ordinal policy, then the lowest stable scene ID.
Targeted CUDA runtime qualification passed on the RTX 6000 Ada for first-valid, mean, Float32 exact quantile, medoid, and best-pixel. It compares values, validity, status, counts, provenance, and selected keys with the host path, and covers non-default streams, context mismatch, cancellation, concurrency, and release-before-wait. Candidate status codes are validated asynchronously before pass or final-output mutation. A current-context mismatch or completion/destroy failure retains its handle so the caller can make the owning context current and retry. A destructor fails closed if it cannot prove completion, cleanup, or restoration of the prior caller context. The other reducer families have not run that runtime matrix, so no exhaustive CUDA claim is made for them.
The Rust host file-pipeline convenience supports already-aligned, affine, cugeo-proj-reprojected, and orthorectified imagery. Explicit validity, QA, quality, and index sources reuse the imagery geometry for all available host geometry lanes. Mapped validity and QA require nearest interpolation; mapped quality and index may explicitly select nearest or bilinear. QA meaning is never inferred from integer values. There is no spill or runtime fallback.
A temporal GPU file pipeline is unavailable, even when cuda,nvtiff are
enabled. nvTIFF does not expose a request-specific scratch requirement. The
public experimental generic prepared-batch surface enforces exact
caller-supplied logical callback caps and conservatively charges them to
admission, but it cannot rule
out foreign allocator bypass or claim the decoder’s total peak.
The sealed file pipeline does not derive fresh replay attestations from
decoded device content. Private full-image prepared-nvTIFF and exact-extension
nvImageCodec TIFF decode-to-affine harnesses are correctness-qualified against
external GDAL pixels: both feed pitched BIP device output directly to
cuda-u16-bip-pixel-double with no layout copy or conversion. They remain
test-only and have no public workflow adapter. The direct nvTIFF route also has
a matching small full-image portable-host+explicit-H2D composition comparator:
it preserves exact output and shows a 1.093x-1.101x warm median end-to-end win in
two runs, below the recommended-route threshold. nvImageCodec remains a
correctness-only private comparator because its controller wait is inseparable.
Decode-to-reprojection and decode-to-orthorectification adapters are unqualified.
The lower-level CUDA reducer and nvTIFF APIs remain independently usable; this
limitation belongs to the sealed workflow adapter.
The committed Landsat acceptance test streams three real Collection 2 scenes, uses an explicit QA mask, maps overlap through affine geometry, and matches committed first/last-valid values, validity, counts, status, and provenance on a 192 x 192 output. The passing run processed 36,864 pixels across 12 tiles, including partial final tiles: 36,719 pixels were valid and 145 had no valid observation. The active-payload budget is 655,360 bytes and the admitted peak is 556,352 bytes, with one candidate in flight. This metric counts logical active output samples rather than a strided destination span. Stitched caller outputs, process RSS, scene-registry metadata, and receipt vectors are outside that payload boundary. The test reports no scene cube, spill, fallback, GPU, GDS, or GDAL runtime. Provenance and reproduction details are in tests/data/temporal_landsat/README.md.
I/O boundaries#
The default native parser supports classic TIFF and BigTIFF, both byte orders, IFD/SubIFD discovery, GeoTIFF grid metadata, nodata, masks and overview metadata, and RPC tag 50844. Its portable data path reads UInt8, UInt16, Int16, Int32, Float32, and Float64 windows into caller-owned host storage with positive, element-aligned strides. It accepts uncompressed, LZW and Deflate storage within the dtype-specific predictor limits of the portable TIFF decode profile. Uncompressed packed complete storage rows use direct positional I/O; partial or endian-converted rows use bounded row staging. Compressed reads use bounded chunk staging and applicable predictor scratch rather than full-window staging.
The general C/Python raster descriptor exposes the imagery contract (UInt8,
UInt16, and Float32). The typed C dataset API’s cugeo_raster_native_raster_v1
and the Rust native-I/O surface additionally cover Int16, Int32, and Float64
reads; the typed orthorectification DEM file path also consumes that native Rust
view. This does not widen the older general imagery descriptor.
Optional accelerated adapters remain distinct:
path-based scalar and prepared nvTIFF decode the first IFD into packed interleaved caller-owned device storage. Both preflight the native
Datasetmetadata and reject the decode if nvTIFF’s parse disagrees on dimensions, samples, planar configuration, compression, or photometric interpretation; prepared nvTIFF also retains the native metadata. Both have targeted fixture tests and are outside the direct nvTIFF qualification, which covers only the generic true multi-region and explicit-pool surfaces for the UInt16 C3 cell. Tiled BlackIsZero UInt16 C1 Deflate with predictor 2 is enabled for scalar and prepared reads. Its bitstream integrity is unverified: nvTIFF can return success with undefined pixels for corrupt compressed tiles;nvImageCodec is an experimental GPU-only decode adapter; public calls preserve default or caller-path extension discovery, while the local 0.9 qualification covers an exact unchanged UInt16 C3 TIFF ROI decoder that explicitly loads and retains
libnvtiff_ext.so.0.9.0only inside the crate-private multi-ROI path, reports its canonical loaded path, SHA-256, and observed runtime/descriptor versions, and exposes no C/Python ABI;NPP is a restricted affine comparator, not an automatic backend. The opt-in
nppfeature exportscugeo_raster_npp_affine_u16, declared inkernels/cuda/npp.hrather than the stable header. It accepts packed UInt16 C1/C3/C4 rasters with nearest or linear interpolation, and has no masks, nodata, status, arbitrary bands or strides, or destination tile origins, because NPP cannot express them under the cugeo-raster contract. The feature links NPP Core and Image Geometry (nppc,nppig) dynamically;libnppigcarries thelibnppcdependency, so the library’s dynamic table names onlylibnppig.so.13.tools/test-npp.shbuilds thecuda,npplibrary and runstests/npp_smoke.cu, an identity UInt16 C3 case on a non-default stream; the GPU lane neither builds nor tests the feature, and its runtime semantics and performance on representative affine interiors are not qualified;cuTile and cuda-oxide/Rust SIMT paths remain experiments; the public nvCOMP Deflate route has the separate profile in the I/O matrix above;
the optional native direct-cuFile GDS adapter supports only one aligned, complete, native-endian uncompressed contiguous tile in packed BIP UInt8/UInt16/Float32 output. It is never selected automatically and has no POSIX/GDAL fallback; device output by another route does not imply GDS. Its static native/lifecycle matrix and feature-wheel packaging pass for the pinned CUDA 13.1.1/libcufile 1.16.1 candidate, but no available host has produced the required live level-3 NVFS/P2P proof, so runtime and performance remain unqualified.
The advanced Python backend namespaces keep specialized ownership explicit.
cugeo.raster.io.nvtiff has the scalar owners and the public experimental generic
multi-region plan/prepare/execution surface; cugeo.raster.io.nvimagecodec has the
scalar decode execution owner only. Python accepts only
named native resources/admission and never installs allocator callbacks.
The following are unsupported: compressed host TIFF profiles outside the documented LZW/Deflate floor, automatic TIFF overview selection, explicit mask writing, expression fusion, automatic backend routing, release-qualified RMM packaging, arbitrary-stride accelerated decode, or a general device temporal file pipeline. RMM-owned allocation is available only through the separately gated experiment described below.
Packaging status is intentionally narrower than source-build availability:
Package lane |
Repository support |
Qualification boundary |
|---|---|---|
default host wheel |
|
locally qualified build/install path; it requires shared cugeo-proj/PROJ and no GDAL, CUDA or codec runtime dependency |
Python CUDA/codec extras |
|
extras obtain Python-side dependencies; they do not rebuild an already-installed default wheel with native features |
opt-in native-feature wheel build |
|
build-host mechanism only; wheels built with optional CUDA, nvTIFF, nvImageCodec, or NPP features—including the CUDA orthorectification and temporal composite surfaces—are not qualified portable release artifacts, and transitive libraries, extension modules, rpaths, and target compatibility remain the packager’s responsibility |
The optional rmm Cargo feature builds a native RMM 26.8.0 adapter over the
generic callback ABI. It is isolated from defaults, owns a private RMM pool,
never changes the process-global resource, exposes exact pinned provenance,
and requires caller-supplied RMM_ROOT; it never searches sibling workspaces.
The public Python factory retains an owned stream object and does not expose
Python allocation callbacks. RmmDevice remains unsupported as an automatic
scheduler policy: enabling an allocator experiment does not silently route
work to it.
The checked-in benchmark compares private cudaMallocAsync and RMM pools at the
same non-default-stream allocation/free boundary, with a shared logical cap,
correctness gate, synchronized latency, retained/high-water bytes, fragmentation
reuse proxy, and dependency bytes. RMM has no portable packaging lane: the
evaluated RMM CMake package requires CMake 4.0, above cugeo-raster’s 3.24 floor.
The narrower caller-supplied-bundle wheel path is reproducible through
tools/test-rmm-wheel.sh: it builds a clean committed source archive with only
the RMM wheel switch, verifies the exact native tag and bundled DSO bytes,
installs in isolation, resolves both copied libraries from the wheel directory
with LD_LIBRARY_PATH unset, and checks installed capabilities. Its real GPU
probe either constructs and closes a tiny resource on an explicit
context/non-default stream or reports an explicit skip when no CUDA device is
visible. This local result does not establish portable dependency resolution,
portability to another host, or a broad release matrix.
Default host builds link the shared cugeo-proj service and its PROJ runtime. GDAL, CUDA and codec runtimes are not required.
Runtime evidence identity#
The targeted orthorectification and temporal composite CUDA tests passed on:
NVIDIA RTX 6000 Ada, compute capability 8.9, 48 GiB;
driver 580.126.16;
CUDA toolkit 13.1.115.
These are correctness and lifecycle results, not throughput measurements. The qualification harness under benchmarks/qualification records generated host compute boundaries and emits an explicit unsupported receipt for its GPU lane. Performance claims require stage timing, hashes, allocation/transfer accounting, cold and warm runs, and an identical comparator contract.
Native read_many measured 4.654x (128-square) and 4.273x (512-square) the
earlier fastest scalar rate on the 64-window lanes at revision
96842c99dff0389d86690df7cbdca5306cd09654. See the
read-many benchmark to rerun it.