unresolved external symbol for several cuSPARSE functions

I am trying to use the new cuSPARSE 10.1 functions “cusparseSpMV”, “cusparseSpMV_bufferSize”, “cusparseCreateCsr”, “cusparseCreateDnVec” but as I reference them I get a unresolved external symbol error.

I am using the newest CUDA toolkit cuda_10.1.243_426.00 for Windows 10 x64

All those functions are declared in \NVIDIA GPU Computing Toolkit\CUDA\v10.1\include\cusparse.h, however if I do a simple text search of e.g. “cusparseSpMV” on
the corresponding cusparse.lib library located in \NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64\cusparse.lib, I cannot find that string.

Therefore I conclude that the corresponding implementations of the above mentioned functions are missing in the library.
Can you please provide a cusparse.lib which contains an implementation of the above mentioned functions?

https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-api-reference

“LIMITATION: The generic APIs are currently available for all platforms except Windows. Using these APIs in any other systems will result in compile-time or run-time failures. Their support will be extended in the next releases.”

1 Like