example error

when i run 3.8.1.2. CUBLAS Device Module,these errors occurred:
nvlink error : Undefined reference to ‘cublasCreate_v2’ in ‘C:\temp\pgfortran9hSyCcetevVn7D.obj’
nvlink error : Undefined reference to ‘cublasDestroy_v2’ in ‘C:\temp\pgfortran9hSyCcetevVn7D.obj’
nvlink error : Undefined reference to ‘cublasSswap_v2’ in ‘C:\temp\pgfortran9hSyCcetevVn7D.obj’
pgnvd-Fatal-Could not spawn D:\software\pgi/win64/2019/cuda/10.1/bin\nvlink.exe
child process exit with signal 127: D:\software\pgi\win64\19.10\bin\pgnvd.exe

Hi yaoshunyu,

Unfortunately, the cuBLAS team discontinued support for device routines as of CUDA 10.0. If available on your system, you can use CUDA 9.2, but as these will no longer be supported, I would suggest not using cublas calls from device code.

-Mat