Using GPU and OpenACC to Accelerate the Maze Optimal Routing Algorithm

Article Preview

Abstract:

in order to improve the efficiency of maze optimal routing problem, a GPU acceleration programming model OpenACC is used in this paper. By analyzing an algorithm which solves the maze problem based on ant colony algorithm, we complete the task mapping on the model. Though GPU acceleration, ant colony searching process was changed into parallel matrix operations. To decrease the algorithm accessing overhead and increase operating speed, data were rationally organized and stored for GPU. Experiments of different scale maze matrix show that the parallel algorithm greatly reduces the operation time. Speedup will be increased with the expansion of the matrix size. In our experiments, the maximum speedup is about 6.1. The algorithm can solve larger matrices with a high level of processing performance by adding efficient OpenACC instruction to serial code and organizing the data structure for parallel accessing.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

1338-1341

Citation:

Online since:

August 2013

Authors:

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Colorni A and so on. An investigation of some properties of an ant algorithm, Of the Parallel Problem Solving from Nature Conference (PPSNp92)[C]. Brussels. Belgium. Elsevier Publishing, 1922. 509–520.

Google Scholar

[2] Dorigo M and so on. The ant system: Optimization by a colony of cooperating agents [J]. IEEE Transactions on System, Man and Cybernetics Part B. 1996(26) 29-41.

DOI: 10.1109/3477.484436

Google Scholar

[3] Hu Xiao-bing and Huang Xi-yue. Ant colony algorithm in maze optimal path problem, Computer Simulation. 2005(22) 114–116.

Google Scholar

[4] Zhang Gong-jing and Xu Xi-jun. The application of ant colony algorithm to solve the maze optimal path [J]. Journal of Qingdao University (Natural Science). 2008(21) 61–65.

Google Scholar

[5] Stutzle T and Hoos H H. The MAX2MIN ant system and local search for the t raveling sales man problem [C] . In : Proc. ICEC 9721997 IEEE 4th Int. Conf. Evolutionary Computation, (1997).

DOI: 10.1109/icec.1997.592327

Google Scholar

[6] Li Jian-ming and so on. A fine-grained parallel GPU accelerated ant colony algorithm [J]. Control and decision-making. 2009(24) 1132–1136.

Google Scholar

[7] The OpenACC Application Programming Interface. http: /www. openacc. org/sites/default/files/ OpenACC. 1. 0_0. pdf, (2011).

Google Scholar

[8] PGI Accelerator Compilers OpenACC Getting Started Guide. http: /www. pgroup. com/doc/ openACC_gs. pdf, (2012).

Google Scholar