libclc

libclc is an open source, BSD/MIT dual licensed implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. The following sections of the specification impose library requirements:

libclc is intended to be used with the Clang compiler's OpenCL frontend.

libclc is designed to be portable and extensible. To this end, it provides generic implementations of most library requirements, allowing the target to override the generic implementation at the granularity of individual functions.

libclc currently supports the AMDGCN, and R600 and NVPTX targets, but support for more targets is welcome.

Download

git clone https://github.com/llvm/llvm-project.git (View sources)

Discourse forums

Runtimes - OpenCL category