~/talk

Cross-Platform Floating-Point Determinism Out of the Box

Talkat CppCon 2024 · on Friday, 2024-09-20· at 13:30· Spruce 3/4, 6700 North Gaylord Rockies Boulevard· [web-performance]
links:none on file
slides:none on file

Claim: cross‑platform bit‑for‑bit floating‑point determinism is achievable. Implementation: an open‑source, templated math library plus six strategies (including soft‑float, DLL/static wrappers, inline assembly and compiler‑flag modes) and a fixed‑point fallback for geometry. Tests run across x86_64, arm64 and riscv64 with GCC/Clang/MSVC produce zero platform discrepancies when using the replacements. Performance: soft‑float 4–6× slower while inline assembly is about 10–35% slower; mixed deterministic/non‑deterministic builds remain supported and testing continues.

AI-written summary · about

  1. 0:00Introduction to determinism
  2. 2:17Importance of determinism
  3. 10:18Previous failed attempts
  4. 13:16Goals and objectives
  5. 17:05Sources of non-determinism
  6. 23:11First attempt and failure
  7. 27:05New approach with templates
  8. 31:24Working implementations
  9. 37:32Correctness and testing
  10. 39:34Performance benchmarks
  11. 42:24Future work and fixed-point
  12. 46:51Summary of results
  13. 50:33C++ standard proposal
  14. 54:57Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.