错误OpenCV与CUDA使用TBB为多个GPU [英] Error OpenCV with CUDA using TBB for multiple GPUs

查看:414
本文介绍了错误OpenCV与CUDA使用TBB为多个GPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的OpenCV CUDA程序运行良好,使用单个NVidia 580GTX,但使用另一个时,它给出以下错误:

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


OpenCV错误:mallocPitch中的Gpu API调用(无效设备顺序)

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

我知道我需要TBB来分配GPU的工作,安装OpenCV与TBB支持(跟随willowgarage网站),它表示需要TBB支持(CMake键'WITH_TBB'必须为真)。任何帮助将真正感谢,因为我需要这个完成我的计算机科学硕士项目。

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.

谢谢!

推荐答案

结果是它是构建7232这是问题,因为它与最新的opencv build(7292)没有问题。感谢所有人的支持

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

这篇关于错误OpenCV与CUDA使用TBB为多个GPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆