## In-Place Recursive Approach for All-Pairs Shortest Paths Problem Using OpenCL

Department of CSE, Maulana Azad National Institute of Technology, Bhopal, India

The 6th International Conference on Information Technology (ICIT 2013), 2013

@article{pandey2013place,

title={IN-PLACE RECURSIVE APPROACH FOR ALL-PAIRS SHORTEST PATHS PROBLEM USING OPENCL},

author={Pandey, Manish and Pandey, Himanshu and Sharma, Sanjay},

year={2013}

}

The all-pairs shortest paths (APSP) problem finds the shortest path distances between all pairs of vertices,and is one of the most fundamental graph problems. In this paper, a parallel recursive partitioning approach to APSP problem using Open Computing Language (OpenCL) for directed and dense graphs with no negative cyclesbased on R-Kleene algorithm, is presented, which recursively partitions dense adjacency matrix into sub-matrices and computes the shortest path. Graphics Processing Units (GPUs) are massively parallel in nature and provide high computational speedup at very low cost in comparison to other very costly High Performance Computing (HPC) systems. Most common technique for Graph representation is to store it in the form of adjacency matrix and GPUs are highly suitable for performing matrix computations in parallel. OpenCL is a framework which provides unified development environment for executing programs in heterogeneous platforms. Using OpenCL, we can execute program on GPUs and/or CPUs. Our implementation is mainly targeted towards executing OpenCL kernels on GPU. In designing effective OpenCL programs, data transfers between host and device memory should be minimized. Our approach is in-place in nature, so it does not require additional memory space while performing computation and entire data movement takes place in a bulk between host and device memory.

May 19, 2013 by hgpu

In-Place Recursive Approach for All-Pairs Shortest Paths Problem Using OpenCL,