【发布时间】:2016-11-07 02:28:54
【问题描述】:
我想使用 -lcusparse 为 Nsight 中的 nvcc 编译器链接 cusparse 库,即类似这样的东西
nvcc test_sparse.cu -lcusparse -o test_CUSPARSE.
在 Nsight 7.5 中我究竟可以在哪里添加这个,我只找到了旧版本的解释。
【问题讨论】:
我想使用 -lcusparse 为 Nsight 中的 nvcc 编译器链接 cusparse 库,即类似这样的东西
nvcc test_sparse.cu -lcusparse -o test_CUSPARSE.
在 Nsight 7.5 中我究竟可以在哪里添加这个,我只找到了旧版本的解释。
【问题讨论】:
如果你不使用 makefile 项目,你可以在这里找到它。
项目属性 -> 构建 -> 设置 -> 工具设置 -> NVCC 链接器 -> 库
【讨论】: