Skip to main content

Module flex

Module flex 

Source
Expand description

Bernoulli marginal-slope FLEX GPU policy and backend probe.

Structs§

BmsFlexGpuBackend
Process-wide BMS-flex GPU backend. Lazy-initialised on first call to BmsFlexGpuBackend::probe.

Functions§

require_row_primary_hessian_supported
Same as row_primary_hessian_decision but turns gpu=force-without-support into an Err string at the call site.
row_primary_hessian_decision
Decide whether the GPU row-primary Hessian path is eligible for this fit’s (n, r). Always-use_gpu=false for r == 0 (no flex jets to process) and below the runtime row-kernel threshold.