aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-06 15:27:45 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-06 15:27:45 +0200
commit5b26291269aa0b2d2a489b0d7b167d084a52aaed (patch)
tree7e766fc71e652a678e4cca8a368c4e50546a8f20 /include
parent5cdb2df3d7433974dbabcf152dede43106ee5b42 (diff)
Update info about cuda
Diffstat (limited to 'include')
-rw-r--r--include/CudaLibrary.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/CudaLibrary.hpp b/include/CudaLibrary.hpp
index d9514cb..fe99975 100644
--- a/include/CudaLibrary.hpp
+++ b/include/CudaLibrary.hpp
@@ -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;