In scientific calculations, precision of the stored quantities affects accuracy and, in adaptive methods, the spatial resolution selected by the numerical method. The objective here is to determine the precision required by individual operations and to apply these requirements to AMR. For this purpose, selected Lean-verified arithmetic results, analytical precision bounds and 6,480 evaluations of 60 scientific kernels are organized in a Precision Atlas. Controlled time integration problems are first used to distinguish the requirements for time advancement, state accumulation and output. The analysis is then extended to AMR, where a rounded sensor determines which cells are refined. The probabilities of tagging a cell and selecting a refinement block under stochastic rounding are derived. It is shown that rounding can tag a uniform field, producing a phantom gradient, when the floating-point spacing exceeds the refinement threshold. For a fixed gradient threshold, excluding these tags requires one additional significand bit for each halving of the mesh spacing. Shock--vortex (SV) and Rayleigh--Taylor (RT) calculations confirm that the extra refinement appears where this condition is violated. In finer SV case, stochastic BF16 tagging requires 2.69 times the cell updates of FP64 tagging. The Atlas bounds are used to construct a tagging criterion that excludes these extra tags. This criterion retains 20.03%, 61.67% and 99.99% of the reference tags under stochastic BF16, FP16 and FP32 sensor rounding. When the conserved state is also stored in FP16, the bound must include pressure reconstruction from conserved variables, and 94.73% of the decisions remain unresolved under stochastic rounding. The Atlas indicates when the stored quantities cannot establish the requested refinement decision and is a step toward a-priori precision selection for scientific calculations.


翻译:暂无翻译

0
下载
关闭预览

相关内容

基于深度元学习的因果推断新方法
图与推荐
12+阅读 · 2020年7月21日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
深度学习中Attention Mechanism详细介绍:原理、分类及应用
深度学习与NLP
10+阅读 · 2019年2月18日
强化学习的Unsupervised Meta-Learning
CreateAMind
18+阅读 · 2019年1月7日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
IJCAI | Cascade Dynamics Modeling with Attention-based RNN
KingsGarden
13+阅读 · 2017年7月16日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
15+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
12+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
7+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
9+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
18+阅读 · 11月25日
相关VIP内容
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员