After I compiled openCV libraries, I got the following directory:
opencv\build_2.4.9\samples\ocl
In this there are many sample codes. But no description is provided unless you read the complete code and run a couple of times to know what it does.
Are there any documentation for such sample codes? If not how do I go ahead?