I found that there is cudart.lib in windows,but there is not libcudart.a but only the libcudart.so,
why ?In windows ,I link the cudart.lib,when i change my program to the linux,I confused,do i link the libcudart.so is same?
There are no static cuda libraries in linux. Just link against the shared libraries. If you are distributing your software to others, just distribute the version of the runtime library you link against along with your executable and advise them of the minimum driver version they will need to use. After that, it should just work…