Skip to main content

check

Function check 

Source
pub fn check(status: cublasStatus_t, op: &str) -> Result<(), String>
Expand description

Map a cublasStatus_t into an Err(String) for the cuBLASLt status codes we care about. We don’t go through CublasError here because cudarc’s result module doesn’t expose every variant we touch — the string form is sufficient since these errors funnel straight into GpuError::LibraryError.