본문 바로가기
KERD
논문KCI 등재

웹GPU와 웹어셈블리를 이용한 이미지 프로세싱 가속

Image Processing Acceleration using WebGPU and WebAssembly

0

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류컴퓨터학

초록

웹 브라우저 기반 고성능 이미지 프로세싱을 위해 JavaScript 언어는 속도가 느리고 GPU를 직접 활용할 수 없어서, 웹 플러그인 기술이나 서버기반 처리 방식이 사용되었다. 하지만 최신 웹 브라우저에서 더 이상 플러그인 기술들이 지원되지 않고, 서버 처리 방식은 사용자가 늘어날수록 운영비용이 증가하는 문제가 발생하였다. 따라서 본 논문에서는 플러그인이나서버 기반이 아닌 최신 웹 표준 기술인 WASM과 WebGPU를 활용하여 클라이언트 환경에서 고성능 이미지 프로세싱 알고리즘을 구현하였다. 최종 실험 결과 기존 Javascript에 비해 CPU와 GPU를 동시 활용하는 WASM+WebGPU 기반의 코드에서 최대 10배 이상 실행 성능이 개선되었다.

Abstract

JavaScript is slow for high-performance image processing in webbrowsers and cannot directly utilize the GPU. Therefore, web plugintechnology or server-based processing methods have been used. However, since web plugins are no longer supported by the latest webbrowsers and server processing methods become increasingly expensiveas the number of users grows. In this paper, an image processingacceleration method is proposed using the latest web standards suchas WASM and WebGPU in a client environment, instead of pluginsor server-based methods. The final experimental results confirmedthat the WASM+WebGPU-based code, which utilizes both the CPUand GPU, improved execution performance by up to 10 times comparedto traditional javaScript.

참고문헌 (15)

  1. J. T. Park, "Development trends in web convergence service implementation technology", The Journal of The Korean Institute of Communication Sciences, 38(4), pp.3~9 (2021)
  2. D. Kim, "Cloud Computing to Improve JavaScript Processing Efficiency of Mobile Applications", Journal of Information Processing Systems, 13(4), pp.731~751 (2017)
  3. C. W. Kim, "Profiler Design for Evaluating Performance of WebCL Applications", KIPS Transactions on Computer and Communication Systems, 4(8), pp.239~244 (2015)
  4. H. W. Nam, "Accelerating AES Algorithm using WebGPU", The transactions of The Korean Institute of Electrical Engineers, 71(7), pp.1008~1014 (2022)
  5. H. K. Kim, "Web assembly technology trend research", The Journal of The Korean Institute of Communication Sciences, 40(2), pp.3~9 (2023)
  6. C. H. Shin, "Analysis of Process and Performance in WebAssembly", The Korean Institute of Information Scientists and Engineers, pp.1546~1548 (2018)
  7. "opencv. js"[URL]
  8. "Photon"[URL]
  9. "wgimage"[URL]
  10. "WebGPU Shading Language–W3C Working Draft"[URL]
  11. N. D. Matsakis, "The Rust Language", ACM SIGAda Ada Lett, pp.103~104 (2014)
  12. "Direct3D 12 programming guide"[URL]
  13. "Metal"[URL]
  14. "Vulkan-Cross platform 3D Graphics"[URL]
  15. "YUI Compressor–Javascript Compressor"[URL]

관련 논문AI추천

이 간행물의 다른 논문 (13건)