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?
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