Linking to nvBLAS can't find gemm functions


I’m having trouble replacing OpenBLAS with nvBLAS in my program.

I link with ‘-L/usr/local/cuda/lib64 -lnvblas’ but still have many undefined references to BLAS functions such as:
‘/usr/lib/gcc/x86_64-linux-gnu/5/…/…/…/x86_64-linux-gnu/ undefined reference to `cblas_dgemm’’

Which the CUDA toolkit documentation mentions as a supported function.

Am I missing something?


please follow the instructions here to use NVBLAS:

[url]NVBLAS :: CUDA Toolkit Documentation