"examples/community/iadb.py" did not exist on "5e84353ebab5e0ce4fc762f64fabbdd9ac0c282a"
Commit 5d9c4a5f authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Fix crash on cuda ml init failure

The new driver lookup code was triggering after init failure due to a missing return
parent 197e420a
......@@ -70,6 +70,7 @@ void cuda_init(char *cuda_lib_path, cuda_init_resp_t *resp) {
resp->ch.handle = NULL;
snprintf(buf, buflen, "nvml vram init failure: %d", ret);
resp->err = strdup(buf);
return;
}
// Report driver version if we're in verbose mode, ignore errors
......
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