• Home
  • Search
  • A Translation Framework for Automatic Translation of Annotated LLVM IR into OpenCL Kernel Function
  • Cite Icon3
  • https://doi.org/10.1007/978-3-642-35473-1_62Copy DOI Icon

A Translation Framework for Automatic Translation of Annotated LLVM IR into OpenCL Kernel Function

  • Jan 1, 2013
  • Chen-Ting Chang +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Heterogeneous multi-core processor is proposed to accelerate applications using an application-specific hardware, such as graphics processing unit (GPU). However, heterogeneous multi-core processor is difficult to program. Therefore, OpenCL (Open Computing Language) standard recently has been proposed to reduce the difficulty. A program of OpenCL mainly consists of the host code (executed on CPU) and the device code (executed on GPU or other accelerators). LLVM (Low Level Virtual Machine) is a compiler infrastructure and supports a variety of front-ends into LLVM IR (Intermediate Representation). To help translate programs written by different programming languages of LLVM front-ends to OpenCL, this work defines some extensions of LLVM IR to represent the kernel function of OpenCL. Furthermore, a translation framework is designed and implemented to translate annotated LLVM IR to OpenCL kernel function.

Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.