Fix ocl::setBinaryDiskCache
authorpeng xiao <hisenxpress@gmail.com>
Fri, 28 Jun 2013 02:12:18 +0000 (10:12 +0800)
committerpeng xiao <hisenxpress@gmail.com>
Fri, 28 Jun 2013 02:12:18 +0000 (10:12 +0800)
commit14dd345cdf5f8197f7080a857c69363537b3f39b
tree8d9df8ff66f0e7a4e7355f13b25235ea7e3ad3c9
parent381057eaadea9f69d2a22e4548c29a09517450ab
Fix ocl::setBinaryDiskCache
Previously the function requires Info::Impl implicitly. A call will create
new Context this function which is not intended.
The properties are now moved to global scope to fix this issue.
modules/ocl/src/initialization.cpp