Enable AMD OpenCL for OpenCV 2.4.5 .
Hi, all:
Long time no see. ^_^
Environment:
Ubuntu 12.10
OpenCV 2.4.5
AMDAPP: AMD-APP-SDK-v2.8-lnx32
Video Card: AMD 6870
I'm trying to play OpenCL with OpenCV 2.4.5. I defaultly installed AMDAPP under /opt/AMDAPP
And while I do a out-of-folder build for OpenCV, I set
- OPENCL_ROOT_DIR /opt/AMDAPP/include (this seems to be correct)
- OpenCL_DIR OpenCL_DIR-NOTFOUND (always showing NOTFOUND)
I tried to let
- OpenCL_DIR = /opt/AMDAPP/include
- OpenCL_DIR = /opt/AMDAPP etc. but nothing worked ever.
My question is: what is OpenCL_DIR if I use a AMD video card and related packages, instead of a NVidia one? Besides AMDAPP, is there anything else that I need to install for OpenCL?
Thank you..
Best Regards Pei
Have you tried if it works without setting this variable? Probably you don't need it at all...