mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
Update GPU tests
This commit is contained in:
parent
f77d745b51
commit
aa63da2bd3
@ -80,7 +80,7 @@ testCusparseSolver(const boost::property_tree::ptree& prm, const std::string& ma
|
|||||||
Dune::InverseOperatorResult result;
|
Dune::InverseOperatorResult result;
|
||||||
|
|
||||||
Vector x(rhs.size());
|
Vector x(rhs.size());
|
||||||
Opm::WellContributions wellContribs("cusparse");
|
Opm::WellContributions wellContribs("cusparse", false);
|
||||||
std::unique_ptr<Opm::BdaBridge<Matrix, Vector, bz> > bridge;
|
std::unique_ptr<Opm::BdaBridge<Matrix, Vector, bz> > bridge;
|
||||||
try {
|
try {
|
||||||
bridge = std::make_unique<Opm::BdaBridge<Matrix, Vector, bz> >(gpu_mode, fpga_bitstream, linear_solver_verbosity, maxit, tolerance, platformID, deviceID, opencl_ilu_reorder);
|
bridge = std::make_unique<Opm::BdaBridge<Matrix, Vector, bz> >(gpu_mode, fpga_bitstream, linear_solver_verbosity, maxit, tolerance, platformID, deviceID, opencl_ilu_reorder);
|
||||||
|
@ -79,7 +79,7 @@ testOpenclSolver(const boost::property_tree::ptree& prm, const std::string& matr
|
|||||||
Dune::InverseOperatorResult result;
|
Dune::InverseOperatorResult result;
|
||||||
|
|
||||||
Vector x(rhs.size());
|
Vector x(rhs.size());
|
||||||
Opm::WellContributions wellContribs("opencl");
|
Opm::WellContributions wellContribs("opencl", false);
|
||||||
std::unique_ptr<Opm::BdaBridge<Matrix, Vector, bz> > bridge;
|
std::unique_ptr<Opm::BdaBridge<Matrix, Vector, bz> > bridge;
|
||||||
try {
|
try {
|
||||||
bridge = std::make_unique<Opm::BdaBridge<Matrix, Vector, bz> >(gpu_mode, fpga_bitstream, linear_solver_verbosity, maxit, tolerance, platformID, deviceID, opencl_ilu_reorder);
|
bridge = std::make_unique<Opm::BdaBridge<Matrix, Vector, bz> >(gpu_mode, fpga_bitstream, linear_solver_verbosity, maxit, tolerance, platformID, deviceID, opencl_ilu_reorder);
|
||||||
|
Loading…
Reference in New Issue
Block a user