International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 111 - Number 15 |
Year of Publication: 2015 |
Authors: Manish Pandey, Sanjay Sharma |
10.5120/19613-1500 |
Manish Pandey, Sanjay Sharma . OpenCL Parallel Blocked Approach for Solving All Pairs Shortest Path Problem on GPU. International Journal of Computer Applications. 111, 15 ( February 2015), 8-17. DOI=10.5120/19613-1500
All-Pairs Shortest Path Problem (APSP) finds a large number of practical applications in real world. This paper presents a blocked parallel approach for APSP using an open standard framework OpenCL, which provides development environment for utilizing heterogeneous computing elements of computer system and to take advantage of massive parallel capabilities of multi-core processors such as graphics processing unit (GPU) and CPU. This blocked parallel approach exploits the local shared memory of GPU, thereby enhancing the overall performance. The proposed solution is for directed and dense graphs with no negative cycles and is based on blocked Floyd Warshall (FW) and Kleene's algorithm. Like Floyd Warshall this approach is also in-place and therefore requires no extra memory.