Abstract

针对目前在实际应用场景中多核模型的复杂性,本文在分析了数据流、主从、OpenMp三大多核模型后,选取其中更易实现的OpenMp模型作为主要研究对象。本文研究了OpenMp模型的实现原理,对多核模型OpenMp在嵌套循环中的线程创建以及任务划分所消耗的时间进行了分析,然后研究了OpenMp模型的核数和线程数之间的关系,最终以TI公司的多核DSP TMS320C6678为核心处理器,使用典型的图像处理算法对在以上研究中得出的结论进行了验证。经测试,OpenMp模型在线程数等于核数时执行时间最短。 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.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.