Itseez/opencv — pull request #939 by pengx17 (2013-05-31 08:50:36+00:00)
Title: Initialize OpenCL context at the end of getDevice call.

Added for better compatibility with the current samples/test cases.
User now will be able to initialize OpenCL context explicitly with
ocl::getDevice api.
This may be obsoleted in future releases.