Add option to disable the use of cublas.