As I wanted to compile my program (using Cusparse) the following lines appeared:
tmp/tmpxft_00001048_00000000-13_matvec.o: In function main':
tmpxft_00001048_00000000-1_matvec.cudafe1.cpp:(.text+0x6d5): undefined reference to
cusparseCreate'
The same came out not only for cusparseCreate, but also for cusparseCreateMatDescr, cusparseSetMatType, cusparseSetMatIndexBase, cusparseXcoo2csr, cusparseDsctr, cusparseDcsrmv_v2, cusparseDestroyMatDescr and cusparseDestroy. What does it mean?