Skip to content

Commit

Permalink
Support new NVIDIA cudart
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Feb 2, 2025
1 parent bcb6106 commit 9a65246
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nvar-load.h
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,9 @@ static inline bool load_nv_ar_libs()

nv_ar = LoadLibrary(L"nvARPose.dll");
nv_cvimage = LoadLibrary(L"NVCVImage.dll");
nv_cudart = LoadLibrary(L"cudart64_110.dll");
nv_cudart = LoadLibrary(L"cudart64_12.dll");
if (!nv_cudart)
nv_cudart = LoadLibrary(L"cudart64_110.dll");
SetDllDirectoryA(NULL);
return !!nv_ar && !!nv_cvimage && !!nv_cudart;
}
Expand Down

0 comments on commit 9a65246

Please sign in to comment.