ghasemikasra39:

ln -s /usr/include/cublas_v2.h /usr/local/cuda-10.2/targets/x86_64-linux/include/cublas_v2.h


This failed because the file order is reversed. It should be ln -s path/to/src path/to/dst so you want

ln -s /usr/local/cuda-10.2/targets/x86_64-linux/include/cublas_v2.h /usr/include/cublas_v2.h

then do the same for cublas_api.h.

ln -s /usr/local/cuda-10.2/targets/x86_64-linux/include/cublas_api.h /usr/include/cublas_api.h

This worked for me.