From 5cf39e838e6b132bb72be63dbb119071c4811050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz> Date: Sat, 8 Sep 2018 20:59:35 +0200 Subject: [PATCH] Added missing HAVE_CUDA guard to HeatEquationBenchmarkProblem_impl.h --- .../HeatEquationBenchmarkProblem_impl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h b/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h index e2ba8ebcdc..c5877b3b3a 100644 --- a/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h +++ b/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h @@ -666,8 +666,10 @@ applyBoundaryConditions( const RealType& time, return; this->bindDofs( uDofs ); this->explicitUpdater.template applyBoundaryConditions< typename Mesh::Cell >( this->getMesh(), time, this->u ); - return; + return;*/ +#ifdef HAVE_CUDA +/* #ifdef WITH_TNL using ExplicitUpdaterType = TNL::Solvers::PDE::ExplicitUpdater< Mesh, MeshFunctionType, DifferentialOperator, BoundaryCondition, RightHandSide >; using Cell = typename MeshType::Cell; @@ -721,7 +723,7 @@ applyBoundaryConditions( const RealType& time, std::cerr << "Setting of boundary conditions failed. " << cudaErr << std::endl; return; } - +#endif } } -- GitLab