Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

openCV 3.0 beta and OpenCL setDevice

$
0
0
Hi, in OpenCL, I have studied the ocl_test.cpp. Retrieving information about my system (Windows 7 SP1, 32bit) concerning available CPUs, GPUs and so on works fine. Studying the documentation, I have not found a way to set the device to do the actual computations. In an older version of openCV, I saw a method like "setDevice", which is not available in the 3.0 beta. So, how can I enable a specific device for further computations? I only found a method called "set" which accepts a void-pointer. Since my GPU (device 0) is not the newest model I would like to enable my multicore-CPU (following device 1 and so on). Thanks for your tips! Johannes

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>