fix(dnn/cuda-stub): simplify and use proper search paths
Removed the `access()` call before `dlopen()`. It was copy-pasted from the opencl-stub, does not make sense here, and prevents `dlopen()` from loading `libcuda.so` from non-default path. Updated the name of the library providing CUDA Driver API on different platforms, these are harvested from the following file in a CUDA install: samples/6_Advanced/matrixMulDynlinkJIT/cuda_drvapi_dynlink.c GitOrigin-RevId: ed43cab8c8b4a9b9f8baaa958e8b5123b72dd179
Showing
想要评论请 注册 或 登录