Expand description
ULP (Unit in the Last Place) distance utilities for floating-point comparison.
Used to verify SIMD and PTX kernels produce results within acceptable tolerance of the scalar reference implementation.
Functions§
- assert_
ulp_ eq - Assert that two f32 slices are equal within the given ULP tolerance.
- ulp_
distance - Compute the ULP distance between two f32 values.