I have a superserver 7047r-trt platform with GTX Titan X (Maxwell) installed. I did a fresh install of the RHEL 7.4 server and installed cuda driver and toolkit using procedure published by RedHat. I used the most recent version of *.run installer from Nvidia. The installer confirmed sucessful installation of the cuda driver. Now I compiled the samples and try run ./deviceQuery as root. The resulting message is following:
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 30
-> unknown error
Result = FAIL
What goes wrong. Maybe someone has had a similar problem.