SemtexB
SemtexB

Reputation: 660

Nsight Eclipse Edition 7.5 add compile command to link library

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

Answers (1)

kangshiyin
kangshiyin

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

Related Questions