We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39860a commit 0df64edCopy full SHA for 0df64ed
src/initialization.jl
@@ -102,7 +102,6 @@ function __init__()
102
runtime_version()
103
catch err
104
if err isa CuError && err.code == ERROR_NO_DEVICE
105
- @error "No CUDA-capable device found"
106
_initialization_error[] = "No CUDA-capable device found"
107
return
108
end
@@ -124,8 +123,7 @@ function __init__()
124
123
try
125
cuInit(0)
126
127
- @error "Failed to initialize CUDA" exception=(err,catch_backtrace())
128
- _initialization_error[] = "CUDA initialization failed"
+ _initialization_error[] = "CUDA initialization failed: " * sprint(showerror, err)
129
130
131
0 commit comments