From 460a75bd9169ff5dbcd7fa3e07121abb6fd9242e Mon Sep 17 00:00:00 2001 From: Arne Vansteenkiste Date: Mon, 27 Apr 2015 10:03:23 +0200 Subject: [PATCH] print hint to fix CUDA_ERROR_UNKNOWN --- cuda/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuda/init.go b/cuda/init.go index e6c835ced..87fa7d612 100644 --- a/cuda/init.go +++ b/cuda/init.go @@ -55,7 +55,7 @@ func tryCuInit() { defer func() { err := recover() if err == cu.ERROR_UNKNOWN { - + log.Println("\n Try running: sudo nvidia-modprobe -u \n") } util.FatalErr(err) }()