Dear Mat and all,
I am trying to use cublas routines inside a device kernel, however, I get a few linking issues:
nvlink error : Undefined reference to 'cublasCreate_v2
and when I looked at the /opt/packages/cuda/10.0/lib64 (or pgi library directory), I couldn’t find the cublas_device libraries. So I am not sure where to link for libcublas_device.
Reading https://devtalk.nvidia.com/default/topic/499852/undefined-reference-to-cublascreate_v2-/, it appears that cublas_device is deprecated? Is there any alternative?
Per CUDA Fortran documentation, you can still use cublas_device (with the compilation pgfortran -Mcuda=cc35 cublasdev.cuf -lcublas_device). Am I doing something wrong?
Thanks,
Amir