Error OpenCV with CUDA using TBB for multiple GPUs

左心房为你撑大大i 提交于 2019-12-13 01:25:15

问题


My OpenCV CUDA program runs fine using a single NVidia 580GTX, but when using another, it gives the following error:

OpenCV Error: Gpu API call (invalid device ordinal) in mallocPitch

I know I need TBB to assign a GPU its job, but even though I installed OpenCV with TBB support (followed the willowgarage website), it says TBB support is required (CMake key 'WITH_TBB' must be true). Any help would really be appreciated since I need this to complete my computer science Master's project.

Thanks!


回答1:


Ok its solved. turns out it was build 7232 that was the problem, since it works with the latest opencv build(7292) with no problems. Thanks all for the support



来源:https://stackoverflow.com/questions/9295350/error-opencv-with-cuda-using-tbb-for-multiple-gpus

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!