Half precision wave simulation
Longfei Gao, Kevin Harms

TL;DR
This paper investigates the effects of using half precision floating-point arithmetic in wave simulations, highlighting the challenges of roundoff errors and proposing a compensated sum method to improve solution accuracy.
Contribution
It demonstrates the negative impact of roundoff errors in half precision wave simulations and introduces a compensated sum technique as an effective remedy.
Findings
Roundoff errors significantly degrade wave simulation accuracy at half precision.
Compensated sum improves energy conservation and solution quality.
Hardware support for half precision enables practical application of the method.
Abstract
In recent years, half precision floating-point arithmetic has gained wide support in hardware and software stack thanks to the advance of artificial intelligence and machine learning applications. Operating at half precision can significantly reduce the memory footprint comparing to operating at single or double precision. For memory bound applications such as time domain wave simulations, this is an attractive feature. However, the narrower width of the half precision data format can lead to degradation of the solution quality due to larger roundoff errors. In this work, we illustrate with carefully designed numerical experiments the negative impact caused by the accumulation of roundoff errors in wave simulations. Specifically, the energy-conserving property of the wave equations is employed as a convenient diagnosis tool. The corresponding remedy in the form of compensated sum is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsElectromagnetic Simulation and Numerical Methods · Soil Moisture and Remote Sensing · Meteorological Phenomena and Simulations
