程序员达达

Tag Archive for CUDA

Install CUDA 5.0 on Ubuntu 12.04

I mainly follow the instructions in this Post Step 1: edit blacklist.conf sudo nano /etc/modprobe.d/blacklist.conf Add the following lines to the end of the file, one per line, and save it when done – blacklist amd76x_edac blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv Step 2: remove nouveau driver (optionnel) # sudo apt-get…

cudaGetDeviceCount returned 38

You will feel frustrated when you try to run “deviceQuery” while error happens: cudaGetDeviceCount returned 38 -> no CUDA-capable device is detected It’s probably because you don’t use any of the Nvidia’s cards as dislay so that there is no /dev/nvidia* or the permission is not right. Run “deviceQuery” will fix this. Then check “/etc/udev/rules.d/50-udev.rules”…