Reputation: 660
I would like to link the cusparse
library using -lcusparse
for the nvcc complier in Nsight, i.e. something like this
nvcc test_sparse.cu -lcusparse -o test_CUSPARSE
.
Where exactly can I add this in Nsight 7.5, I only found explanations for older versions.
Upvotes: 0
Views: 111
Reputation: 9781
You could find it here if you are not using makefile project.
Project Properties -> Build -> Settings -> Tool Settings -> NVCC Linker -> Libraries
Upvotes: 2