cf4ocl

C Framework for OpenCL

View the Project on GitHub FakenMC/cf4ocl

Summary

The C Framework for OpenCL, cf4ocl, is a cross-platform pure C99 object-oriented framework for developing and benchmarking OpenCL projects in the C programming language. It aims to:

  1. Promote the rapid development of OpenCL programs in C.
  2. Assist in the benchmarking of OpenCL events, such as kernel execution and data transfers.
  3. Simplify the analysis of the OpenCL environment and of kernel requirements.

Currently cf4ocl 2 is alpha software. The stable 1.3.x branch can be found at https://github.com/FakenMC/cf4ocl/tree/v1x.

Features:

Feeback:

Clone, build and install the code, the a look at the examples and the v2.0.0-alpha API. The API may change until the beta release. Any feedback is appreciated.

Soon:

Not yet implemented:

License:

Library code is licensed under LGPLv3, while the remaining code (utilities, examples and tests) is licensed under GPLv3.

Other useful C frameworks/utilities for OpenCL

If cf4ocl does not meet your requirements, take a look at the following projects: