Bug 5241914: Fix the error message for cuSolverDn_LinearSolver

This commit is contained in:
shawnz 2025-04-27 16:57:02 +08:00
parent 49159f3739
commit b27b55ec70

View File

@ -260,7 +260,7 @@ int linearSolverQR(cusolverDnHandle_t handle, int n, const double *Acopy, int ld
checkCudaErrors(cudaMemcpy(&h_info, info, sizeof(int), cudaMemcpyDeviceToHost));
if (0 != h_info) {
fprintf(stderr, "Error: LU factorization failed\n");
fprintf(stderr, "Error: QR factorization failed\n");
}
checkCudaErrors(cudaMemcpy(x, b, sizeof(double) * n, cudaMemcpyDeviceToDevice));