Qt4 library wrapper for OpenCL ported to Qt5
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demos
doc
examples
src
tests
util
.gitignore
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.LGPL
LICENSE.PREVIEW.COMMERCIAL
README.md
qtopencl.pro

README.md

QtOpenCL

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.

Overview

This module consists of two sub-modules: QtOpenCL & QtOpenCLGL.

Building & Installing

qmake
make
make install

Usage

In your .pro file:

QT += opencl

For QtOpenCLGL:

QT += opencl openclgl

And include it in your code:

...
#include <QtOpenCL/...>

Tested platforms

MacOS, but should work anywhere else

ToDo

  • decouple from the old GL-classes (QtWidgets-based)
  • add more examples and benchmarks