多字算术与并行计算
Multiword Arithmetic and Parallel Computing
AI总结:
针对硬件精度不足问题,采用多字算术(多倍双精度或多整数)并利用并行计算补偿开销,通过寄存器存储和GPU加速提升效率,相关代码以PHCpack软件公开。
摘要:
在许多应用中,可用硬件算术的精度不足以保证准确结果。多字算术是一种特殊的多精度算术,其中多倍双精度是64位双精度数的未求值和,而多整数是64位整数的未求值和。应用并行计算来补偿多字算术的成本开销。这种算术自然地利用优化的硬件,允许高效的类型转换、内存布局,所有这些都有利于并行计算。例如,将多字存储在寄存器中而不是数组中,通过任务分配和图形处理单元加速,有利于并行计算。多字算术的代码可在软件PHCpack中获得,该软件主要用Ada编写,公开在github上,并作为Alire crate发布,采用GNU GPL v3.0许可证。
英文摘要:
In many applications, the precision by the available hardware arithmetic is insufficient to guarantee accurate results. Multiword arithmetic is a special type of multiprecision arithmetic where a multiple double is an unevaluated sum of 64-bit doubles, or where a multiple integer is an unevaluated sum of 64-bit integers. Parallel computing is applied to compensate for the cost overhead of multiword arithmetic. This type of arithmetic exploits naturally the optimized hardware, allows for efficient type conversions, memory layouts, all favorable for parallel computing. For example, storing a multiword in registers rather than arrays is beneficial to parallel computing by tasking and acceleration by graphics processing units. Code for multiword arithmetic is available in the software PHCpack, written mainly in Ada, publicly available at github, and as an Alire crate, released under the GNU GPL v3.0 license.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。