Back to Blog
![]() ![]() Since cuDNN is split into several libraries, dependencies between them need to be taken into account.įor example, when statically linking libcudnn_cnn_infer_static.a into an application, libcudnn_ops_infer_static.a is also needed, in this order (a dependent library followed by its dependency). Static cuDNN libs for Windows are not supported. Linux: Add -lcublas_static -lcublasLt_static -lz -lculibos -lnvrtc_static -lnvrtc-builtins_static -lnvptxcompiler_static -lcudart_static to the linker command. Linker dependencies for the static cuDNN libs Windows: Add cublas.lib cublasLt.lib zlibwapi.lib to the linker command. Linux: Add -lcublas -lcublasLt -lz to the linker command. One way to achieve this is by explicitly specifying them on the linker command.įor linker dependencies for the dynamic cuDNN libs Users with a 32-bit machine should download the 32-bit ZLIB DLL.īecause cuDNN uses symbols defined in external libraries, you need to ensure that the linker can locate these libraries while building a cuDNN dependent program.
0 Comments
Read More
Leave a Reply. |