The Community for Technology Leaders
2013 National Conference on Parallel Computing Technologies (PARCOMPTECH) (2013)
Bangalore, India
Feb. 21, 2013 to Feb. 23, 2013
ISBN: 978-1-4799-1589-7
pp: 1-5
Krishan Gopal Gupta , HPC Frontier Technologies, Exploration Group, C-DAC, Pune University Campus, 411007, Maharashtra, India
Nisha Agrawal , HPC Frontier Technologies, Exploration Group, C-DAC, Pune University Campus, 411007, Maharashtra, India
Samrit Kumar Maity , HPC Frontier Technologies, Exploration Group, C-DAC, Pune University Campus, 411007, Maharashtra, India
ABSTRACT
This paper presents performance comparison between aparapi (a parallel API for GPU) and java by implementing sobel edge detection Algorithm in java (run on CPU) and aparapi (run on GPU). Our GPU implementation using Aparapi shows speedup of 6x against CPU implementation using java (serial implementation) and speedup of 2x using java prallel implementation (less than 8 threads). Experiments indicate that java threaded version shows speedup up to 4X against Aparapi implementation (more than 8 threads). This comparison study also include implementation of sobel edge detection algorithm on CPU (sequential, threaded version) and aparapi version for enabled on GPU. This article also discusses how to implement Aparapi kernels for data-parallel operations of Typical Edge detection algorithms based on Sobel operator within Java applications The results for performance gains that can be achieved using with and without Aparapi framework.
INDEX TERMS
Edge Detection, Aparapi, Gpu, java
CITATION
Krishan Gopal Gupta, Nisha Agrawal, Samrit Kumar Maity, "Performance analysis between aparapi (a parallel API) and JAVA by implementing sobel edge detection Algorithm", 2013 National Conference on Parallel Computing Technologies (PARCOMPTECH), vol. 00, no. , pp. 1-5, 2013, doi:10.1109/ParCompTech.2013.6621408
91 ms
(Ver 3.3 (11022016))