cublasStatus_t syten::Cuda::handle_error | ( | cublasStatus_t | err | ) |
Checks the error code and asserts if it is not CUBLAS_STATUS_SUCCESS.
References status_description(), and SYTEN_ASSERT_MSG.
Referenced by addScaled(), conj_copy(), syten::CudaDenseTensorImpl::cuda_transpose_r2(), dot(), initialise_handles(), max_element_idx(), scale(), and version().