arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.08988cs.PFcs.DCcs.MScs.NAmath.NA
收藏

面向架构的矩阵乘法在异构多核处理器上的配置与调度

Architecture-Aware Configuration and Scheduling of Matrix Multiplication on Asymmetric Multicore Processors

Universidad Jaume I(豪梅一世大学);Universidad Complutense de Madrid(马德里康普顿斯大学)

Sandra Catalán, Francisco D. Igual, Rafael Mayo, Rafael Rodríguez-Sánchez, Enrique S. Quintana-Ortí

AI总结:

本文设计了面向架构的矩阵乘法优化,通过缓存感知配置和异构静态动态调度策略,提升ARM big.LITTLE异构多核处理器的性能与能效。

摘要:

异构多核处理器(AMPs)近年来在严苛能耗约束环境下展现出吸引力,尤其在移动设备中应用广泛。本文设计并嵌入了多个面向架构的优化到多线程通用矩阵乘法(GEMM)中,以实现ARM big.LITTLE AMPs的高性能实现。我们的解决方案基于BLIS库中的GEMM参考实现,整合了缓存感知配置以及异构静态和动态调度策略,精心调整并分配操作的微内核到目标处理器的big和LITTLE核心。实验结果表明,在Samsung Exynos 5422系统上,具有异构调度的GEMM缓存感知版本在性能和能效方面均优于传统架构无关版本,充分利用了AMP资源。

英文摘要:

Asymmetric multicore processors (AMPs) have recently emerged as an appealing technology for severely energy-constrained environments, especially in mobile appliances where heterogeneity in applications is mainstream. In addition, given the growing interest for low-power high performance computing, this type of architectures is also being investigated as a means to improve the throughput-per-Watt of complex scientific applications. In this paper, we design and embed several architecture-aware optimizations into a multi-threaded general matrix multiplication (gemm), a key operation of the BLAS, in order to obtain a high performance implementation for ARM big.LITTLE AMPs. Our solution is based on the reference implementation of gemm in the BLIS library, and integrates a cache-aware configuration as well as asymmetric--static and dynamic scheduling strategies that carefully tune and distribute the operation's micro-kernels among the big and LITTLE cores of the target processor. The experimental results on a Samsung Exynos 5422, a system-on-chip with ARM Cortex-A15 and Cortex-A7 clusters that implements the big.LITTLE model, expose that our cache-aware versions of gemm with asymmetric scheduling attain important gains in performance with respect to its architecture-oblivious counterparts while exploiting all the resources of the AMP to deliver considerable energy efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑