Ask Your Question
0

Opencv 3 compiled with CUDA but GetCudaEnabledDeviceCount always 0

asked 2015-02-03 21:00:28 -0600

vsw gravatar image

Hi,

I want use CUDA acceleration for my opencv based project.

I have installed latest nvidia drivers, nvidia toolkit, opencv 3 beta with_cuda=on

But getCudaEnabledDeviceCount is always return 0

Please help

Nvidia deviceQuery is here: http://verti.ee/etc/deviceQuery.txt Compiler output is here: http://verti.ee/etc/make.txt

Best regards Viktor

edit retag flag offensive close merge delete

Comments

- sorry didnt read the link correctly -

StevenPuttemans gravatar imageStevenPuttemans ( 2015-02-04 03:04:04 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-02-07 01:34:10 -0600

vsw gravatar image

updated 2015-02-07 01:57:11 -0600

Resolved.

Opencv 2.4.9 same result.

But if running under root DEVICE DETECTED

Also gcc4.8 not playing with CUDA together. I use gcc4.7

Thank you all. CLOSED.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-02-03 21:00:28 -0600

Seen: 349 times

Last updated: Feb 07 '15