I'm not sure if it is related to your issue or not, but I tried to go through the Cloud9 OpenCL examples for the BB AI referenced in *Introduction_to_OpenCL_slides.pdf *and ran into a compile issue. I posted an issue with the github repo for this
https://github.com/beagleboard/cloud9-examples/issues/20 The example shows coping the OpenCL example code to a local user folder and recompile the examples. This is where I ran into an issue. Cheers, Jon On Tue, Jan 7, 2020 at 4:09 PM <[email protected]> wrote: > Hi, > > I have a problem when trying to use OpenCV with OpenCL support in a cpp > application. When i print the openCV build information I can see that it > has OpenCL with dynamic linking. However, when I run a simple application > using openCL it seems that OpenCV does not recognize OpenCL: > > #include <opencv2/core/ocl.hpp> >> [...] >> cv::ocl::haveOpenCL(); >> *FALSE* >> > > I tried solving the problem by creating symbolic links to the libTIOpenCL* > .so files, using default OpenCV naming convention (libOpenCV*). > This resulted in OpenCV recognizing the OpenCL but still I'm unable to > force the OpenCL usage: > > #include <opencv2/core/ocl.hpp> >> [...] >> cv::ocl::haveOpenCL(); >> *TRUE* > > cv::ocl::setUseOpenCL(true); >> cv::ocl::useOpenCL(); >> *FALSE* >> > > What am I missing here? Does the current system provide OpenCL support for > OpenCV? > > Kr, > Szymon > > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/dc4ec0fb-1ac0-4326-bf94-692cf7fc94df%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/dc4ec0fb-1ac0-4326-bf94-692cf7fc94df%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bkp_q4spxP0DJth3T4ZqeqS51mix8WdDW7LomN8_DEEDbw%40mail.gmail.com.
