我正在尝试编译一个使用cusparse库的cuda程序。但是我遇到了链接错误:
kernel.cu.obj : error LNK2019: unresolved external symbol _cusparseSetMatIndexBase@8 referenced in function _main
有很多与cusparse库相关的同类错误。我已经包含了"cusparse_v2.h"。
在Visual Studio 2010编译期间,我该如何链接cusparse库?