fix the mismatch of perf_test, add a performance sample for ocl module
fix the compile warnings
Merge pull request #553 from bitwangyaoyao:2.4_perfTest