It is suggested that on Linux, GPU be found with the command lspci | grep VGA. It works fine on Ubuntu but when I try to use the same on CentOS, it says lspci comma
lspci | grep VGA
Well, if you use CUDA, it has a function to enumerate CUDA-capable devices on the system. Why not use that?