1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-23 14:52:52 -05:00

Improved CUDA loader error reporting and fixed plugin load on Linux.

This commit is contained in:
XMRig
2020-08-23 21:30:12 +07:00
parent 4b682b6633
commit ff13675d31
3 changed files with 87 additions and 57 deletions

View File

@@ -152,7 +152,9 @@ public:
}
if (!CudaLib::init(cuda.loader())) {
return printDisabled(kLabel, RED_S " (failed to load CUDA plugin)");
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") RED_BOLD("disabled ") RED("(%s)"), kLabel, CudaLib::lastError());
return;
}
runtimeVersion = CudaLib::runtimeVersion();