From 5b26291269aa0b2d2a489b0d7b167d084a52aaed Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 6 Oct 2022 15:27:45 +0200 Subject: Update info about cuda --- include/CudaLibrary.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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; -- cgit v1.2.3