grubbymits / esdg-opencl

OpenCL compiler and driver for the 'LE1', a multi-core VLIW CPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esdg-opencl

OpenCL driver and compiler for the LE1.

The driver is made from several components:

  • Clover is the driver, it uses clang to parse and transform the kernels into coarsened bytecode files.
  • The bytecode is statically linked to the OpenCL runtime library (libclc).
  • The final bytecode is compiled using the LLVM backend and llc.
  • And the code is run using the simulator (libInsizzle) from within Clover.

Installation:

  • Install 'install-dir' to /opt/esdg-opencl/.
  • Build and install LLVM
  • Build clover and copy the resulting libOpenCL.so files to /opt/esdg-opencl/lib
  • configure and make libclc, which will produce builtins.bc in the le1-llvm-none directory. Copy the .bc file to /opt/esdg-opencl/lib

And don't forget it doesn't really work yet!

About

OpenCL compiler and driver for the 'LE1', a multi-core VLIW CPU


Languages

Language:C++ 52.2%Language:C 25.1%Language:LLVM 9.7%Language:Assembly 4.9%Language:Objective-C 2.7%Language:HTML 2.2%Language:Python 0.7%Language:Makefile 0.6%Language:Shell 0.5%Language:Objective-C++ 0.3%Language:OCaml 0.3%Language:Cuda 0.3%Language:Perl 0.2%Language:CMake 0.2%Language:Groff 0.1%Language:CSS 0.0%Language:TeX 0.0%Language:MATLAB 0.0%Language:Emacs Lisp 0.0%Language:JavaScript 0.0%Language:Vim Script 0.0%Language:Batchfile 0.0%Language:PHP 0.0%Language:Standard ML 0.0%Language:Mercury 0.0%Language:SourcePawn 0.0%Language:Common Lisp 0.0%Language:M 0.0%Language:Pascal 0.0%