Compile cuda static library into dynamic library under Linux

The environment required on the computer is:

         1. The computer has NVIDIA GPU that supports CUDA

         2. The development kit of CUDA toolkit is installed (the dynamic library of libcudart.so is in /usr/local/cuda/lib*)

    Starting from CUDA5.5, static library is supported. If you look under /usr/local/cuda/lib64

 

 

 

 

Reference: CUDA static library under linxu-under

 

Guess you like

Origin blog.csdn.net/juluwangriyue/article/details/108510099