Skip to content

Commit

Permalink
fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
qinatan committed Oct 20, 2023
1 parent 0318137 commit cb3a3df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/micm/solver/cuda_linear_solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
#include <micm/solver/cuda_linear_solver.cuh>
namespace micm{
class CudaLinearSolver: public LinearSolver{
//constructor
public:
//constructor
CudaLinearSolver::CudaLinearSolver(){};

template<typename T, template<class> class SparseMatrixPolicy, class LuDecompositionPolicy>
template<template<class> class MatrixPolicy>
requires(VectorizableDense<MatrixPolicy<T>> || VectorizableSparse<SparseMatrixPolicy<T>>)
void Solve(const MatrixPolicy<T>&b, MatrixPolicy<T>& x);
}
};

template<typename T, template<class> class SparseMatrixPolicy, class LuDecompositionPolicy>
template<template<class> class MatrixPolicy>
Expand Down

0 comments on commit cb3a3df

Please sign in to comment.