I installed Mathematica 12.0 on Ubuntu Linux 18.10 and activated cuda paclet 12.0.287. This simple code:
Needs["CUDALink`"]
array = Table[i + j, {i, 1000}, {j, 1000}];
Timing[CUDADot[array, array]]
gives the error:
/usr/local/Wolfram/Mathematica/12.0/SystemFiles/Kernel/Binaries/Linux-x86-64/WolframKernel: symbol lookup error: /home/bert/.Mathematica/Paclets/Repository/CUDAResources-Lin64-12.0.287/LibraryResources/Linux-x86-64/libCUDALink_Double.so: undefined symbol: cublasCreate_v2
I have nVIDIA driver 418.56 supporting CUDA 10.1 (while the paclet is based on 10.0). I start Mathematica with following script:
export NVIDIA_DRIVER_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libnvidia-tls.so.418.56
export CUDA_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libcuda.so
mathematica &
Am I missing something?