This Qt modules/library provides a Qt-style wrapper for OpenCL including serveral examples, benchmarks and unit tests that execise the module in various ways.
The original library was written in the time of Qt4 and it didn't supported Qt5 out-of-the-box. This repository is the fork of the code from http://code.qt.io/cgit/%7bnon-gerrit%7d/qt-labs/opencl.git/, it was just ported to a Qt5 module.
This module consists of two sub-modules: QtOpenCL & QtOpenCLGL.
Building & Installing
qmake make make install
In your .pro file:
QT += opencl
QT += opencl openclgl
And include it in your code:
... #include <QtOpenCL/...>
MacOS, but should work anywhere else
- decouple from the old GL-classes (QtWidgets-based)
- add more examples and benchmarks