Kahan增强型标量积在当前多核处理器上的性能分析
Performance analysis of the Kahan-enhanced scalar product on current multicore processors
摘要:
我们调查的性能特点的数值增强的标量积(点)内核循环,使用Kahan算法来补偿数值误差,并描述了高效的SIMD矢量化实现最近的英特尔处理器。使用低级别的指令分析和执行缓存内存(ECM)的性能模型,我们查明了单核和线程并行执行的相关性能瓶颈,并预测性能和饱和行为。我们表明,Kahan增强标量积来在几乎没有额外的成本相比,天真(非Kahan)标量积,如果适当的低层次优化,特别是SIMD矢量化和展开,应用。我们还研究了架构变化对四代英特尔至强处理器的影响。
英文摘要:
We investigate the performance characteristics of a numerically enhanced scalar product (dot) kernel loop that uses the Kahan algorithm to compensate for numerical errors, and describe efficient SIMD-vectorized implementations on recent Intel processors. Using low-level instruction analysis and the execution-cache-memory (ECM) performance model we pinpoint the relevant performance bottlenecks for single-core and thread-parallel execution, and predict performance and saturation behavior. We show that the Kahan-enhanced scalar product comes at almost no additional cost compared to the naive (non-Kahan) scalar product if appropriate low-level optimizations, notably SIMD vectorization and unrolling, are applied. We also investigate the impact of architectural changes across four generations of Intel Xeon processors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。