cheatah
Struct

space::irbem::Fast

cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha

The GPU lane: fp32 integrand, fp64 accumulator.

fp32 is not merely faster here, it is required: SPIR-V's GLSL.std.450 transcendentals are defined only for 16- and 32-bit floats, so a kernel that calls exp — which every Tsyganenko external field model does — cannot be compiled in fp64 at all. ERROR_BUDGET §3 shows that constraint and the error budget point the same way, with the one exception this policy encodes: the reduction stays in double.

Constants & variables

var static std::string_view name #

Human-readable lane name, for the differential suite's per-lane report.

Types

type float integrand #

The type the field models and the integrand are evaluated in.

type double accum #

The type every sum is accumulated in — double, always, even here. See the file brief.