引用本文:方民权,张卫民,高畅,方建滨.多核与众核上MNF并行算法与性能优化.软件学报,2015,26(S2):247-256
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 2816次   下载 5698 本文二维码信息
码上扫一扫!
分享到: 微信 更多
多核与众核上MNF并行算法与性能优化
方民权1,2, 张卫民1,2, 高畅1, 方建滨1
1.国防科学技术大学计算机学院, 湖南长沙 410073;2.国防科学技术大学海洋科学与工程研究院, 湖南长沙 410073
摘要:
高光谱遥感影像降维最大噪声分数变换(maximum noise fraction rotation,简称MNF rotation)方法运算量大,耗时长.基于多核CPU与众核MIC(many integrated cores)平台,研究MNF算法的并行方案和性能优化.通过热点分析,针对滤波、协方差矩阵运算和MNF变换等热点,提出相应并行方案和多种优化策略,量化分析优化效果,设计MKL(math kernel library)库函数实现方案并测评其性能;设计并实现基于多核CPU的C-MNF和基于CPU/MIC的M-MNF并行算法.实验结果显示,C-MNF算法在多核CPU取得的加速比为58.9~106.4,而基于CPU/MIC异构系统的M-MNF算法性能最好,加速比最高可达137倍.
关键词:  集成众核  多核并行  高光谱影像降维  最大噪声分数变换  MKL性能分析
DOI:
分类号:
基金项目:国家自然科学基金(61272146, 41375113)
Parallelizing and Optimizing Maximum Noise Fraction Rotation on Multi-Cores and Many-Cores
FANG Min-Quan1,2, ZHANG Wei-Min1,2, GAO Chang1, FANG Jian-Bin1
1.School of Computer, National University of Defense Technology, Changsha 410073, China;2.Academy of Ocean Science and Engineering, National University of Defense Technology, Changsha 410073, China
Abstract:
Maximum noise fraction (MNF) rotation is a classical method of hyperspectral image dimensionality reduction, and it needs a large amount of calculation and thus is time-consuming. This paper investigates the code transplantation and performance optimization for the maximum noise fraction algorithm on multi-core CPU and many integrated core (MIC) architecture. By analyzing hotspots of the MNF algorithm, parallel schemes are first designed for filtering, covariance matrix calculating and MNF transforming. Then, a series of optimization methods are presented and validated for various parallel schemes of different hotspots, including using math kernel library (MKL) functions. Finally, a C-MNF algorithm on multi-cores CPUs and an M-MNF algorithm on the CPU/MIC heterogeneous system are constructed. Experiments show that the C-MNF algorithm achieves impressive speedups (ranging from 58.9 to 106.4), and the M-MNF parallel algorithm runs the fastest, reaching a maximum speed-up of 137X.
Key words:  many integrated cores  multi-cores parallel  hyperspectral images dimensionality reduction  maximum noise fraction rotation  performance analysis for MKL