首页> 外文期刊>Parallel Computing >A mixed-precision algorithm for the solution of Lyapunov equations on hybrid CPU-GPU platforms
【24h】

A mixed-precision algorithm for the solution of Lyapunov equations on hybrid CPU-GPU platforms

机译:混合CPU-GPU平台上Lyapunov方程求解的混合精度算法

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

摘要

We describe a hybrid Lyapunov solver based on the matrix sign function, where the intensive parts of the computation are accelerated using a graphics processor (GPU) while executing the remaining operations on a general-purpose multi-core processor (CPU). The initial stage of the iteration operates in single-precision arithmetic, returning a low-rank factor of an approximate solution. As the main computation in this stage consists of explicit matrix inversions, we propose a hybrid implementation of Gaulβ-Jordan elimination using look-ahead to overlap computations on GPU and CPU. To improve the approximate solution, we introduce an iterative refinement procedure that allows to cheaply recover full double-precision accuracy. In contrast to earlier approaches to iterative refinement for Lyapunov equations, this approach retains the low-rank factorization structure of the approximate solution. The combination of the two stages results in a mixed-precision algorithm, that exploits the capabilities of both general-purpose CPUs and many-core GPUs and overlaps critical computations. Numerical experiments using real-world data and a platform equipped with two intel Xeon QuadCore processors and an nvidia Tesla C1060 show a significant efficiency gain of the hybrid method compared to a classical CPU implementation.
机译:我们描述了一种基于矩阵符号函数的混合Lyapunov解算器,其中,使用图形处理器(GPU)加速了计算的密集部分,同时在通用多核处理器(CPU)上执行其余操作。迭代的初始阶段以单精度算术操作,返回近似解的低秩因子。由于此阶段的主要计算由显式矩阵求逆组成,因此我们提出了Gaulβ-Jordan消除的混合实现方式,该方法使用超前重叠在GPU和CPU上的计算。为了改善近似解,我们引入了迭代优化程序,该程序可以廉价地恢复完整的双精度精度。与早期对Lyapunov方程进行迭代细化的方法相比,此方法保留了近似解的低秩分解结构。这两个阶段的组合产生了一种混合精度算法,该算法利用了通用CPU和多核GPU的功能,并且使关键计算重叠。使用实际数据以及配备两个英特尔至强QuadCore处理器和nvidia Tesla C1060的平台进行的数值实验表明,与传统的CPU实现相比,混合方法的效率显着提高。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号