计算机工程与科学2018,Vol.40Issue(5):780-786,7.DOI:10.3969/j.issn.1007-130X.2018.05.003
基于TI6678多核DSP的OpenCV并行优化
OpenCV parallel optimization on TI 6678 DSP
李津 1罗昕颉 2扈啸 1陈跃跃1
作者信息
- 1. 国防科技大学计算机学院,湖南长沙 410073
- 2. 北京大学信息科学技术学院,北京 100871
- 折叠
摘要
Abstract
Digital Signal Processing (DSP) is widely used in various industrial fields and military equipment fields.OpenCV is a common open source image processing algorithm library.However,there are few implementations for OpenCV transplantation and optimization on DSP platforms.In this paper,OpenCV is successfully transplanted on a TMS320C6678 DSP platform and generates an underlying support library with most functions preserved.Based on this,we deeply analyze the computational features and data flow of some OpenCV library functions running on this platform.As a result,an optimization method for these OpenCV library functions is proposed.This method combines DMA,Cache operations and OpenMP parallel frameworks,which are supported by TI 6678 architecture.According to this method,we implement the optimization and multi-core parallelism for a class of OpenCV library functions on the TI 6678 chip.With the help of our method,the optimized OpenCV library function running on a single core of TI 6678 chip can be speeded up by up to 3.6 times.On this basis,we parallelize this class of library functions on 8 cores,obtaining the speedup of 2.55 to 7.06.关键词
TMS320C6678/OpenCV/OpenMP/多核并行Key words
TMS320C6678/OpenCV/OpenMP/multi-core parallelism分类
信息技术与安全科学引用本文复制引用
李津,罗昕颉,扈啸,陈跃跃..基于TI6678多核DSP的OpenCV并行优化[J].计算机工程与科学,2018,40(5):780-786,7.