File tree Expand file tree Collapse file tree 2 files changed +44
-15
lines changed Expand file tree Collapse file tree 2 files changed +44
-15
lines changed Original file line number Diff line number Diff line change 1414#include < resolve/LinSolverIterativeFGMRES.hpp>
1515#include < resolve/workspace/LinAlgWorkspace.hpp>
1616#include < resolve/SystemSolver.hpp>
17- #if defined RESOLVE_USE_KLU
18- #include < resolve/LinSolverDirectKLU.hpp>
19- #endif
20- #if defined (RESOLVE_USE_CUDA)
21- #include < resolve/LinSolverDirectCuSolverRf.hpp>
22- using workspace_type = ReSolve::LinAlgWorkspaceCUDA;
23- std::string memory_space (" cuda" );
24- #elif defined (RESOLVE_USE_HIP)
25- #include < resolve/LinSolverDirectRocSolverRf.hpp>
26- using workspace_type = ReSolve::LinAlgWorkspaceHIP;
27- std::string memory_space (" hip" );
28- #else
29- using workspace_type = ReSolve::LinAlgWorkspaceCpu;
30- std::string memory_space (" cpu" );
31- #endif
3217#include " FunctionalityTestHelper.hpp"
3318
19+
3420namespace ReSolve {
3521 namespace tests {
3622
Original file line number Diff line number Diff line change 1+ namespace ReSolve
2+ {
3+ namespace vector
4+ {
5+ class Vector ;
6+ }
7+ namespace matrix
8+ {
9+ class Sparse ;
10+ class Coo ;
11+ class Csc ;
12+ class Csr ;
13+ }
14+
15+ class LinAlgWorkspaceCUDA ;
16+
17+ class LinAlgWorkspaceHIP ;
18+
19+ class LinAlgWorkspaceCpu ;
20+
21+ class SystemSolver ;
22+
23+ class MatrixHandler ;
24+
25+ class VectorHandler ;
26+ }
27+
28+ #if defined RESOLVE_USE_KLU
29+ #include < resolve/LinSolverDirectKLU.hpp>
30+ #endif
31+ #if defined (RESOLVE_USE_CUDA)
32+ // #include <resolve/LinSolverDirectCuSolverRf.hpp>
33+ using workspace_type = ReSolve::LinAlgWorkspaceCUDA;
34+ std::string memory_space (" cuda" );
35+ #elif defined (RESOLVE_USE_HIP)
36+ #include < resolve/LinSolverDirectRocSolverRf.hpp>
37+ using workspace_type = ReSolve::LinAlgWorkspaceHIP;
38+ std::string memory_space (" hip" );
39+ #else
40+ using workspace_type = ReSolve::LinAlgWorkspaceCpu;
41+ std::string memory_space (" cpu" );
42+ #endif
43+
144namespace ReSolve
245{
346 namespace tests
You can’t perform that action at this time.
0 commit comments