Research and Realization of OpenMp Based on Muiticore DSP
Abstract: Aiming at the complexity of multicore model in practical application, the three major models of data flow, master-slave and OpenMp are analyzed in this paper. Because the OpenMp model is easier to be implemented, it is taken as the major research object. Firstly, the implementation principle of OpenMp model is studied; the time consumed by the thread creation and task parti-tioning in the nested loop of the OpenMp model is analyzed in this paper. Then, the relationship between the core number and the number of threads in the OpenMp model is also studied. Finally, taking TMS320C6678 multi-core DSP of TI Company as the core processor, a simple image processing algorithm is used to verify the conclusions drawn from the above research. The results of test have proved OpenMp model when the number of threads is equal to the core number shortest execution time.
文章引用: 张 琪 , 王正勇 , 余艳梅 (2016) 基于多核DSP的OpenMp研究与实现。 图像与信号处理， 5， 147-154. doi: 10.12677/JISP.2016.54017
 Mou, X.G., Wei, G.H. and Zhou, X. (2014) Parallel Programming and Optimization Based on TMS320C6678. Applied Mechanics & Materials, 615, 259-264. http://dx.doi.org/10.4028/www.scientific.net/AMM.615.259
 Chavarrias, M., Pescador, F., Garrido, M.J., et al. (2015) A Multicore DSP HEVC Decoder Using an Actorbased Dataflow Model and OpenMP. IEEE Transactions on Consumer Electronics, 61, 236-244. http://dx.doi.org/10.1109/TCE.2015.7150599
 Zheng, Z., Chen, X., Wang, Z., et al. (2011) Performance Model for OpenMP Parallelized Loops. IEEE International Conference on Transportation, Mechanical, and Electrical Engineering (TMEE), 16-18 December 2011, 383-387. http://dx.doi.org/10.1109/tmee.2011.6199223
 Texas Instrument. DataSheet Tms320c6678 Multicore Fixed and Floating-Point Digital Signal Processor. SPRS691D April 2013.
 Texas Instrument (2012) OpenMP Programming for Key Stone Multicore Processors.
 Mego, R. and Fryza, T. (2013) Performance of Parallel Algorithms Using OpenMP. Radioelektronika, 16-17 April 2013, 236-239. http://dx.doi.org/10.1109/radioelek.2013.6530923
 Texas Instrument (2011) OpenMP Programming for TMS320C66x Multicore DSPs.
 Texas Instrument (2012) TMS320C6000 Optimizing Compiler v7.4 User’s Guide. SPRU187U.
 Texas Instrument (2012) TMS320C6000 Assembly Language Tools v7.4 User’s Guide. SPRU186W.
 张丽, 陈志强, 高文焕, 等. 均值加速的快速中值滤波算法[J]. 清华大学学报: 自然科学版, 2004, 44(9): 1157- 1159.