• DocumentCode
    2031900
  • Title

    O2render: An OpenCL-to-Renderscript translator for porting across various GPUs or CPUs

  • Author

    Cheng-Yan Yang ; Yi-jui Wu ; Liao, Shengcai

  • Author_Institution
    Nat. Taiwan Univ., Taipei, Taiwan
  • fYear
    2012
  • fDate
    11-12 Oct. 2012
  • Firstpage
    67
  • Lastpage
    74
  • Abstract
    More than half-a-billion Android devices are world´s most impactful real-time, interactive multimedia systems that are open-sourced. Google introduced Renderscript language and runtime in Android releases starting in 2011. Renderscript delivers performance and portability without losing usability. However, it is difficult to reuse software written in existing compute languages such as OpenCL. Thus, we develop the O2render system to enable OpenCL programs on Android devices. We analyze fundamental differences between OpenCL and Renderscript, and present our design of a translator between them using low-level virtual machine (LLVM). We extend LLVMs frontend, Clang, and show that we achieve about the same performance in Renderscript with minimal translation overhead.
  • Keywords
    Linux; application program interfaces; graphics processing units; multiprocessing systems; program interpreters; software performance evaluation; software portability; software reusability; virtual machines; Android devices; CPU; Clang; GPU; Google; LLVM frontend; O2render system; OpenCL programs; OpenCL-to-Renderscript translator; Renderscript language; Renderscript performance; Renderscript portability; low-level virtual machine; minimal translation overhead; porting; real-time interactive multimedia systems; software reusability; translator design;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Embedded Systems for Real-time Multimedia (ESTIMedia), 2012 IEEE 10th Symposium on
  • Conference_Location
    Tampere
  • Print_ISBN
    978-1-4673-4968-0
  • Electronic_ISBN
    978-1-4673-4966-6
  • Type

    conf

  • DOI
    10.1109/ESTIMedia.2012.6507031
  • Filename
    6507031