Update info about cuda

This commit is contained in:
dec05eba
2022-10-06 15:27:45 +02:00
parent 5cdb2df3d7
commit 5b26291269
4 changed files with 6 additions and 9 deletions

View File

@@ -100,9 +100,9 @@ struct Cuda {
return true;
dlerror(); // clear
void *lib = dlopen("libcuda.so", RTLD_LAZY);
void *lib = dlopen("libcuda.so.1", RTLD_LAZY);
if(!lib) {
lib = dlopen("libcuda.so.1", RTLD_LAZY);
lib = dlopen("libcuda.so", RTLD_LAZY);
if(!lib) {
fprintf(stderr, "Error: failed to load libcuda.so/libcuda.so.1, error: %s\n", dlerror());
return false;