Fix a bug of ocl::hog when using new queryDeviceInfo interface.