Nsight Eclipse Edition 7.5将编译命令添加到链接库

时间:2016-07-05 09:50:58

标签: cuda nvcc nsight

我想使用cusparse-lcusparse库链接到Nsight中的nvcc编译器,即类似这样的内容 nvcc test_sparse.cu -lcusparse -o test_CUSPARSE

我可以在Nsight 7.5中添加它,我只找到旧版本的解释。

1 个答案:

答案 0 :(得分:2)

如果你没有使用makefile项目,你可以在这里找到它。

项目属性 - >构建 - >设置 - >工具设置 - > NVCC Linker - >库

相关问题