The first open source implementation of the OpenCL standard

Oct 18, 2011 08:14 GMT  ·  By

Portable OpenCL, an open source implementation of the OpenCL standard which can be easily adapted for new targets, has just been released.

One of the goals of the Portable OpenCL project is improving performance portability of OpenCL programs, thus avoiding the need for target-dependent manual optimizations. A "native" target is included, which allows running OpenCL kernels on the host (CPU).

This release, although is still in development, "uses a set of LLVM passes to statically replicate the workitems and generate a bytecode of the actual code to be run, taking into account the WI synchronization (barriers)", said Carlos Sánchez de La Lama.

Portable OpenCL should be able to eventually run programs that use OpenCL, first open standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices.

You can get the source code from here.