troubleshooting CUDA detection.