- various bug fixes
- support for CPU/GPGPU devices
- additional device information provided in routine to fetch device information
- documented source code
- added destroy_buffer command to free sources
This is the first release of the OpenCL Toolbox for MATLAB. It is a simple interface that encapsulates clBuffer and clKernel as MATLAB class objects. It allows one to easily create device buffers, set device memory, compile and call kernel functions, etc.
A future release will override Matlab primitives (plus, minus, times, rdivide, etc.) so that knowledge of OpenCL coding will not be required.
This current release simplifies integration of OpenCL (.cl) files with MATLAB.
For example, to call a kernel in an OpenCL file is done as follows:
ocl = opencl();
global_workgroup_size = [128,0,0];
local_workgroup_size = [128,0,0];
addkernel = clkernel('add', global_workgroup_size, local_workgroup_size);
x = clobject(single(1:10));
y = clobject(single(11:20));
z = clobject(zeros(1,10, 'single'));
values = z.get();
Works on AMD/ATI which is awesome.
But without OpnenCL knowledge I have no idea how to take advanteg of this since there are no examples,except the test code.
Testet the toolbox on my MacOS. Worked fine. Just had to fix some paths.
In addition to bug fixes, I've updated the framework to support CPU devices. Latest versions will always be at the project homepage: http://code.google.com/p/opencl-toolbox
But I'll make efforts to update this page too.
Even in early stage, and not tested yet, It'a a great idea :) So keep going your project
0.17: Added additional device information.
Updated file to version 0.15. Updated description to explain update.
Updated name of license holder in Copyright owner field.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.