From aa63da2bd32e53b2e86569e49eeaf6acd1d2cb8e Mon Sep 17 00:00:00 2001 From: Tong Dong Qiu Date: Wed, 7 Jul 2021 17:03:48 +0200 Subject: [PATCH] Update GPU tests --- tests/test_cusparseSolver.cpp | 2 +- tests/test_openclSolver.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cusparseSolver.cpp b/tests/test_cusparseSolver.cpp index 6aace8aa2..0d40ab199 100644 --- a/tests/test_cusparseSolver.cpp +++ b/tests/test_cusparseSolver.cpp @@ -80,7 +80,7 @@ testCusparseSolver(const boost::property_tree::ptree& prm, const std::string& ma Dune::InverseOperatorResult result; Vector x(rhs.size()); - Opm::WellContributions wellContribs("cusparse"); + Opm::WellContributions wellContribs("cusparse", false); std::unique_ptr > bridge; try { bridge = std::make_unique >(gpu_mode, fpga_bitstream, linear_solver_verbosity, maxit, tolerance, platformID, deviceID, opencl_ilu_reorder); diff --git a/tests/test_openclSolver.cpp b/tests/test_openclSolver.cpp index 94bb0b88d..7c611405b 100644 --- a/tests/test_openclSolver.cpp +++ b/tests/test_openclSolver.cpp @@ -79,7 +79,7 @@ testOpenclSolver(const boost::property_tree::ptree& prm, const std::string& matr Dune::InverseOperatorResult result; Vector x(rhs.size()); - Opm::WellContributions wellContribs("opencl"); + Opm::WellContributions wellContribs("opencl", false); std::unique_ptr > bridge; try { bridge = std::make_unique >(gpu_mode, fpga_bitstream, linear_solver_verbosity, maxit, tolerance, platformID, deviceID, opencl_ilu_reorder);