1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Open LLVM-Based Portable OpenCL Announced

Free Software

Published on 17 October 2011 12:21 PM EDT
Written by Michael Larabel in Free Software
5 Comments

There's a new open-source OpenCL project called "Portable OpenCL" that takes advantage of LLVM and this morning marks its first public announcement.

Carlos Sánchez de La Lama announced Portable OpenCL on the LLVM development list. The Portable OpenCL project is self-described as "an open source implementation of the OpenCL standard which can be easily adapted for new targets. One of the goals of the project is improving performance portability of OpenCL programs, avoiding the need for target-dependent manual optimizations. A "native" target is included, which allows running OpenCL kernels on the host (CPU)."

LLVM/Clang is commonly used by various OpenCL implementations and for Portable OpenCL it's used to "statically replicate the workitems and generate a bytecode of the actual code to be run, taking into account the WI synchronization (barriers)." The Portable OpenCL project is still a work-in-progress but has been under development going back to early 2011 (at least according to the project's code revision history).

The Portable OpenCL project is hosted on Launchpad.net. The ability to run OpenCL kernels on the CPU via an open-source stack is interesting. Previously it's been possible to do that through Intel's OpenCL SDK on Linux and the AMD Stream SDK. There's also been the ongoing work for OpenCL in open-source GPU drivers via Gallium3D and the Clover state tracker, which made some success this summer via Google's Summer of Code.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. LLVM 3.7 Is Planned For A Late August Release
  2. The OpenGL ES 3.1 Foundation Is Being Laid In Mesa
  3. There Are 140k Benchmark Results So Far On LinuxBenchmarking.com
  4. LLVM 3.6.1 Brings R600 & MIPS Fixes
  5. Friction Building Around An Ubuntu Community Council Decision
  6. Bye Bye Mandriva, She's Being Liquidated
  7. Fedora 22 Is Now Available
  8. Red Hat Has Another Developer Now Working On Nouveau
  9. Scribus 1.5 Released, Ported To Qt 5 With Big UI Overhaul Coming
  10. Mesa May Soon Enable OpenGL ES 1.x/2.x By Default
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. The Linux 4.0 Kernel Currently Has An EXT4 Corruption Issue
  2. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  3. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  4. Microsoft Open-Sources The Windows Communication Foundation
  5. Systemd 220 Has Finally Been Released
  6. LibreOffice 5.0 Beta 1 Released
  7. Zapcc Claims To Be A "Much Faster C++ Compiler"
  8. Another HTTPS Vulnerability Rattles The Internet