Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

clinfo shows "Number of platforms 0"

Tags:

I'm developing on Centos 7.6 64bit and Nvidia graphic card. I've installed Nvidia driver and cuda driver.

But, when I run "clinfo", it shows:

Number of platforms                               0

What should I check and how can I solve it?

like image 478
Anselmo Park Avatar asked Feb 07 '19 06:02

Anselmo Park


1 Answers

The cuda's nvidia driver and your display nvidia-driver should match. I faced this problem yesterday and solved it but installing nvidia-driver suggested in cuda run file. make sure that /var/lib/dkms/nvidia/<version> links properly with kernels. see my topic for more info. Sample deviceQuery cuda program

like image 109
Praba Avatar answered Nov 23 '22 23:11

Praba