{"title":"通过实现sobel边缘检测算法对并行API和JAVA的性能进行分析","authors":"Krishan Gopal Gupta, Nisha Agrawal, Samrit Kumar Maity","doi":"10.1109/PARCOMPTECH.2013.6621408","DOIUrl":null,"url":null,"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.","PeriodicalId":344858,"journal":{"name":"2013 National Conference on Parallel Computing Technologies (PARCOMPTECH)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-10-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"19","resultStr":"{\"title\":\"Performance analysis between aparapi (a parallel API) and JAVA by implementing sobel edge detection Algorithm\",\"authors\":\"Krishan Gopal Gupta, Nisha Agrawal, Samrit Kumar Maity\",\"doi\":\"10.1109/PARCOMPTECH.2013.6621408\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":344858,\"journal\":{\"name\":\"2013 National Conference on Parallel Computing Technologies (PARCOMPTECH)\",\"volume\":\"13 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-10-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"19\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 National Conference on Parallel Computing Technologies (PARCOMPTECH)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/PARCOMPTECH.2013.6621408\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 National Conference on Parallel Computing Technologies (PARCOMPTECH)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PARCOMPTECH.2013.6621408","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Performance analysis between aparapi (a parallel API) and JAVA by implementing sobel edge detection Algorithm
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.