While i was Studying OpenCV and OpenCL (in OpenCV OCL Library), I had ocurred problem in ocl library and sample square code performance.
I think that GPU mode(OCL, OpenCL) performance more faster than CPU mode performance, but My test result differ.
Square Sample "FindSquare" fucntion result time
CPU | GPU | |
Square Search | 821.838ms | 3.77946ms |
ocl Sample performance_ocl result time in square sample is used ocl function
CPU | GPU | |
pyrDown | 4.12325ms | 5.75384 |
pyrUp | 5.70101ms | 9.98734ms |
Canny | 81.9024ms | 92.0042ms |
threshold | 1.01938ms | 2.55077ms |
Why don't konw this result?
My Test Enviroment :
- CPU : AMD E-350 Processor
- GPU : ATI Radeon HD 6310
- Memory : 4GB
- OS : Ubuntu 12.04 LTS
- OpenCL Usable : Yes
- OpenCV Version : 2.4.4