From b27b55ec70f1633a249808816360bfe31389887f Mon Sep 17 00:00:00 2001 From: shawnz Date: Sun, 27 Apr 2025 16:57:02 +0800 Subject: [PATCH] Bug 5241914: Fix the error message for cuSolverDn_LinearSolver --- .../cuSolverDn_LinearSolver/cuSolverDn_LinearSolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/4_CUDA_Libraries/cuSolverDn_LinearSolver/cuSolverDn_LinearSolver.cpp b/Samples/4_CUDA_Libraries/cuSolverDn_LinearSolver/cuSolverDn_LinearSolver.cpp index 4153cb4f..cd33ceb0 100644 --- a/Samples/4_CUDA_Libraries/cuSolverDn_LinearSolver/cuSolverDn_LinearSolver.cpp +++ b/Samples/4_CUDA_Libraries/cuSolverDn_LinearSolver/cuSolverDn_LinearSolver.cpp @@ -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));