Forum moderated

CMSoft Forum Moderated Only

Unfortunately our forum has been receiving too much spam and we just haven’t been able to keep up with the required moderation to post useful information. Feel free to contact us with any OpenCL or resource question and our moderators will answer and open the thread in the appropriate forum.

In the meantime, we’re preparing an interesting semi-distributed computing framework using OpenCL.

See you at SIGGRAPH!


OpenCL Birds of a Feather at SIGGRAPH 2013


A new edition of SIGGRAPH is coming up this year with cutting-edge technology in computer graphics as well as heterogeneous computing and parallel processing with GPUs in latest years. As always, Khronos Group will host a Birds of a Feather event which will feature OpenCL, OpenGL, COLLADA and their various high quality open standards.

We at CMSoft look forward to meeting all the OpenCL community in the OpenCL BOF. See you in Anaheim!



Wednesday, 24 July 3:00 PM4:00 PM


Khronos Chapters Brazil

Khronos Chapters Brazil


We are very proud to be part of the newly created Khronos Chapters Brazil, a group supported by OpenGL and OpenCL spec developer Khronos Group.

The main focus of this Chapter will be usage of open standards for heterogeneous computing and computer graphics to enhance software industry competitiveness.

We’re tentatively scheduling the first Chapter meeting to September/2013 in a date to be defined. If you are interested in networking with OpenCL/OpenGL developers in Brazil please feel free send an email and take part in this first meeting.



Link to find more information about Brazil Chapter.

Kinect SDK 1.7 Hand Events

Kinect SDK 1.7 Interactions – Hand Events in C#


Download Kinect Interactions in C# Sample Code.

The new Kinect SDK 1.7 features a very interesting tool: hand detection including open and closed hands (grip). However, the documentation for how to use the WPF controls or even how to set up and handle hand interaction events is quite poor, especially without using a KinectRegion.

We at CMSoft bring you a very basic sample demonstration to show how to handle Kinect open/close hand interactions. We show how to use C# to implement IInteractionClient to create the InteractionStream and handle the InteractionFrameReady event.

In this example, we demonstrate how to track positions and grips of left and right hands from 2 users. The Labels move and change color as users grip.

We’re working to develop hand-controlled presentation software and 3D interaction with virtual worlds, stay tuned! Also feel free to comment or ask questions in our forum.

Big data in WSJ

Big data in Wall Street Journal


In the age of information, where huge amounts of data is available in the most diverse formats such as text, pictures, movies and audio and in a myriad of applications such as the Web itself, Facebook, Linkedin, Instagram, retrieving the most useful information is still a challenge.

The topic is closely related to parallel processing insofar as lots of computing power is necessary to fulfill queries whose complexity doesn’t cease to increase. It would not come as a surprise to see servers resort to GPU-powered OpenCL solutions for improved performance in the near future.

The topic has raised interest in the corporate world: the Wall Street Journal published two very interesting articles about the theme:


How big data is changing the whole equation for business – A thorough review of how companies are using big data techniques to improve product development cycle and better understand costumers.

Big data, big blunders – Article reviewing how big data can be used and the highlighting the dangers of trying to implement big data techniques without proper tools and knowledge.



Processing Kinect Data with OpenCL

Case study: processing Kinect data using OpenCL


Interactive technologies have become extremely important in a world where busy users demand intuitive devices which demand little to no learning time. In this modern scenario, tablets have emerged with their easy-to-use touchscreens, gaming consoles have been successfully exploring movement controls (Wii, PS3 eye, Kinect) and augmented reality has started to emerge as a viable technology.

However, implementation of intelligent systems using devices such as the Kinect usually involves real-time processing of data from multiple sensors (RGB camera, depth camera, audio, accelerometers). This task can be achieved using OpenCL to harness the processing power of multicore GPUs and CPUs.

CMSoft brings you a tutorial on how to create a C# framework to capture Microsoft Kinect sensor data and transfer it to an OpenCL GPU Device, thus enabling the development of software that can potentially process Kinect data hundreds of times faster when compared to pure CPU processing.

In the results we show two OpenGL textured quads which are used to display RGB and depth information acquired from a Kinect sensor. Notice that there is a full false coloring procedure which includes highlighting players detected by Kinect.



Go to the Case Study: Efficient manipulation of Kinect data using OpenCL/GL Interop.

Ten reasons to love OpenCL

Ten reasons to love OpenCL


Amdahl software has posted an interesting article about why they think programmers should like OpenCL, which has quite useful insights. Some of the reasons are direct criticism to CUDA (without explicitly naming it). OpenCL has advantages in some aspects but it also has drawbacks considering CUDA’s maturity is undeniably higher and that CUDA can be specifically tuned (since it only targets NVidia GPUs anyway).

Here are their thoughts with a brief comment of ours: (bold letters are theirs, regular writing are our thoughts – we agree with every aspect pointed out)

1 – OpenCL can accelerate code by a factor 10 or more – without too much trouble for a C programmer. If the code is finely tuned we’re looking at 40-300x speedup.
2 – OpenCL is an open standard – good because any manufacturer can comply; the drawback is that it limits optimizations.
3 – OpenCL can help save power – true, and often taken for granted.
4 – OpenCL can save you hardware cost – well… not that we have too many CPU and GPU manufacturers… let’s hope for some FPGAs and handheld OpenCL soon.
5 – OpenCL adoption is ramping up rapidly – although there’s a LOT of ground to cover. The hardware and programmer sides are going well but there aren’t very many softwares around using it.
6 – OpenCL may be used as the basis for generating custom hardware – unquestionable.
7 – The OpenCL C99 language is based on C – this is good news for C programmers alright.
8 – OpenCL can be used from a variety of host languages – but you’re still stuck with OpenCL C99 for the kernels…
9 – It is easy to start with OpenCL – as long as you already know parallel patterns, which is the major difficulty when learning CUDA, MPI, Cilk, Microsoft.Parallel etc.
10 – OpenCL is platform independent – and we hope to see it available in many more platforms very soon.

We’d like to add a 11-th: OpenCL can compile code during execution time