AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (1.7 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Open Access

Parallelization and Performance Optimization on Face Detection Algorithm with OpenCL: A Case Study

Weiyan Wang1,3, Yunquan Zhang1,2( ), Shengen Yan1,3, Ying Zhang1,3, Haipeng Jia1,4
Laboratory of Parallel Software and Computational Science, Institute of Software, the Chinese Academy of Science, Beijing 100190, China
State Key Laboratory of Computer Science, Institute of Software, the Chinese Academy of Science, Beijing 100190, China
Graduate University of Chinese Academy of Sciences, the Chinese Academy of Science, Beijing 100190, China
Ocean University of China, Qingdao 26610, China
Show Author Information

Abstract

Face detect application has a real time need in nature. Although Viola-Jones algorithm can handle it elegantly, today’s bigger and bigger high quality images and videos still bring in the new challenge of real time needs. It is a good idea to parallel the Viola-Jones algorithm with OpenCL to achieve high performance across both AMD and NVidia GPU platforms without bringing up new algorithms. This paper presents the bottleneck of this application and discusses how to optimize the face detection step by step from a very naïve implementation. Some brilliant tricks and methods like CPU execution time hidden, stubbles usage of local memory as high speed scratchpad and manual cache, and variable granularity were used to improve the performance. Those technologies result in 4-13 times speedup varying with the image size. Furthermore, those ideas may throw on some light on the way to parallel applications efficiently with OpenCL. Taking face detection as an example, this paper also summarizes some universal advice on how to optimize OpenCL program, trying to help other applications do better on GPU.

References

【1】
【1】
 
 
Tsinghua Science and Technology
Pages 287-295

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Wang W, Zhang Y, Yan S, et al. Parallelization and Performance Optimization on Face Detection Algorithm with OpenCL: A Case Study. Tsinghua Science and Technology, 2012, 17(3): 287-295. https://doi.org/10.1109/TST.2012.6216758

356

Views

34

Downloads

17

Crossref

N/A

Web of Science

19

Scopus

0

CSCD

Received: 02 May 2012
Revised: 14 May 2012
Published: 15 June 2012
© The author(s) 2012.

The articles published in this open access journal are distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).