Open CL C library


I’m trying to use AMD’s Open CL library.
Is it possible to write the code in C without C++ templates ?
I’m looking for a pure C library.


Of course. OpenCL is only specified with a C APU; the C++ wrapper is an optional component. To use the C APU, just include “cl.h” and use those APIs. Don’t include “cl.hpp” to avoid using the C++ wrapper. Most OpenCL examples use the C API.