mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add test for rocalutionSolver
This commit is contained in:
@@ -49,6 +49,11 @@ rocalutionSolverBackend<block_size>::rocalutionSolverBackend(int verbosity_, int
|
||||
template <unsigned int block_size>
|
||||
rocalutionSolverBackend<block_size>::~rocalutionSolverBackend() {
|
||||
rocalution::stop_rocalution();
|
||||
|
||||
// these should be automatically release when rocalutionSolverBackend is destroyed
|
||||
// however, without these, the test_rocalutionSolver segfaults
|
||||
roc_solver.release();
|
||||
roc_prec.release();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user