Commit d45bd7cc authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Fix another error message error

parent bd4a9d7e
...@@ -89,7 +89,7 @@ def get_nvidia_cc(): ...@@ -89,7 +89,7 @@ def get_nvidia_cc():
return None, error_str.value.decode() return None, error_str.value.decode()
if(nGpus.value < 1): if(nGpus.value < 1):
return None, err.value.decode() return None, "No GPUs detected"
result = cuda.cuDeviceGet(ctypes.byref(device), 0) result = cuda.cuDeviceGet(ctypes.byref(device), 0)
if result != CUDA_SUCCESS: if result != CUDA_SUCCESS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment