Initialize OpenCL context at the end of getDevice call.
authorpeng xiao <hisenxpress@gmail.com>
Fri, 31 May 2013 08:48:40 +0000 (16:48 +0800)
committerpeng xiao <hisenxpress@gmail.com>
Fri, 31 May 2013 08:48:40 +0000 (16:48 +0800)
commit97b86aa259ec1b33d1c5b28bd04d6247e7671a93
tree49268d25284f399d92046c4bb5f864bf07c58283
parent37091b086c870f1270650d5ffa9d7140f321ba95
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.
modules/ocl/src/initialization.cpp