Skip to content

@graphty/graphty-element / index / AccelerationPrecision

Type Alias: AccelerationPrecision ​

AccelerationPrecision = "f32" | "f64"

Defined in: graphty-element/src/acceleration/types.ts:86

The arithmetic that produced a set of numbers.

A GPU accelerator usually computes in single precision, so a result that came off one is labelled "f32" and a result computed on the CPU path is labelled "f64". The label lands on a run's Caveats.precision, which is how a consumer can tell why two runs of the same algorithm over the same graph disagree in the seventh decimal place.