Fixs: After scaling back to original image, some detected ROI will outside the original image ROI
Copy ocl::queryDeviceInfo interface from master to 2.4.
Affected functions surf.ocl, pyrlk.ocl and hog.ocl are updated with the change.
add accuracy tests while running perf
fix the waring in gemm test
fix a warning
Merge pull request #853 from icylord:2.4
Merge pull request #895 from bitwangyaoyao:2.4_perf
Merge pull request #882 from pengx17:2.4_rewrite_query_info