Added function to dispatch cublas error function