首页> 外文期刊>Future generation computer systems >A precompiler to reduce the memory footprint of multiscale PDE solvers in C++
【24h】

A precompiler to reduce the memory footprint of multiscale PDE solvers in C++

机译:预编译器,用于减少C ++中多尺度PDE求解器的内存占用

获取原文
获取原文并翻译 | 示例
           

摘要

A PDE solver's value is increasingly co-determined by its memory footprint, as the increase of computational multicore power overtakes the memory access speed, and as memory restricts the maximum experiment size. Tailoring a code to require less memory is technical challenging, error-prone, and hardware-dependent. Object-oriented code typically consumes much memory, though developers favour such high-level languages offering meaningful models and good maintainability. We augment the language C++ with new keywords branding records to be memory-critical. Our precompiler DaStGen then transforms this augmented specification into plain C++ optimised for low memory requirements. Hereby, it encodes multiple attributes with fixed range within one variable, and it reduces the number of bits per floating point value. The tool also generates one user-defined MPI data type per class and, thus, facilitates the construction of parallel codes with small messages.
机译:PDE求解器的价值越来越取决于其内存占用量,因为计算多核功能的增加超过了内存访问速度,并且内存限制了最大的实验规模。定制代码以减少内存需求是技术难题,容易出错且与硬件相关。面向对象的代码通常会占用大量内存,尽管开发人员更喜欢这种高级语言,它们提供有意义的模型和良好的可维护性。我们增加了C ++语言,并添加了新的关键字商标记录,这些记录对于存储至关重要。然后,我们的预编译器DaStGen将此增强的规范转换为针对低内存需求进行了优化的纯C ++。因此,它在一个变量内对具有固定范围的多个属性进行编码,并减少了每个浮点值的位数。该工具还为每个类生成一种用户定义的MPI数据类型,因此,可以方便地构造带有小消息的并行代码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号