From fa10d842e1289f6c4a02a46610ec91362b96a3e1 Mon Sep 17 00:00:00 2001 From: maksud Date: Fri, 10 Nov 2023 16:43:17 -0500 Subject: [PATCH] Fixed include files (#73) * Fixed include files * Fix forward declaration in resolve/LinSolverDirectCuSolverGLU.hpp Co-authored-by: pelesh * Add a forward declaration to resolve/LinSolverDirectRocSolverRf.hpp Co-authored-by: pelesh --------- Co-authored-by: Maksudul Alam Co-authored-by: pelesh --- resolve/LinSolverDirectCuSolverGLU.hpp | 3 +-- resolve/LinSolverDirectRocSolverRf.hpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/resolve/LinSolverDirectCuSolverGLU.hpp b/resolve/LinSolverDirectCuSolverGLU.hpp index 899f52e3..c6f5416c 100644 --- a/resolve/LinSolverDirectCuSolverGLU.hpp +++ b/resolve/LinSolverDirectCuSolverGLU.hpp @@ -3,7 +3,6 @@ #include "LinSolver.hpp" #include "cusolver_defs.hpp" #include - namespace ReSolve { // Forward declaration of vector::Vector class @@ -19,7 +18,7 @@ namespace ReSolve } // Forward declaration of ReSolve handlers workspace - class LinAlgWorkspace; + class LinAlgWorkspaceCUDA; class LinSolverDirectCuSolverGLU : public LinSolverDirect { diff --git a/resolve/LinSolverDirectRocSolverRf.hpp b/resolve/LinSolverDirectRocSolverRf.hpp index 97c95526..94d512b1 100644 --- a/resolve/LinSolverDirectRocSolverRf.hpp +++ b/resolve/LinSolverDirectRocSolverRf.hpp @@ -8,7 +8,6 @@ #include #include #include - namespace ReSolve { // Forward declaration of vector::Vector class @@ -17,10 +16,11 @@ namespace ReSolve class Vector; } - // Forward declaration of matrix::Sparse class + // Forward declaration of matrix::Sparse and matrix::Csr classes namespace matrix { class Sparse; + class Csr; } class LinSolverDirectRocSolverRf : public LinSolverDirect