The tutorials shall provide examples and illustrate how convenient heterogeneous programming can be. In order to be able to use the tutorials, 'make' the 'libOclWrapper.a'. If you want to create projects, you need to
- add your new project with
- a new makefile
- [a project file '*.pri']
- all other necessary source and header files
- modify the outer makefile by adding the makefile within your new project folder
- [add your project file '.pri' to the outer project file '.pro']
- Makefile
- Includes other makefiles which enables to call make for all projects
- tutorial.pro
- contains all projects, which can be opened with QT-Creator
- Readme.md
- This file.
- Platform: queries platform and device
- Context: creates two contexts on a given platform
- Queue: creates two queues on different contexts
- Program: creates a program with a kernel
- Buffer: creates several buffers on different contexts
- Kernel: creates kernels from string and file. Shows also how to work with OpenCL vectors.
- Events: creates several queues and performs read/write operations asynchronously. Synchronizes with queues.
- Matrix: shows how to work with host matrices and how to perform comparison.
- Minimum: performs a minimum operations on vectors and shows how to work with local memory. 10.Image: shows how to with images. Very simple examples.