From 629b0dae044d21ade3d745e327d90847ef9911cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz>
Date: Sat, 8 Sep 2018 18:41:03 +0200
Subject: [PATCH] Fixed HAVE_CUDA guard in HeatEquationBenchmarkProblem_impl.h

---
 .../heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h b/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h
index 403044b3cf..e2ba8ebcdc 100644
--- a/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h
+++ b/tests/benchmarks/heat-equation-benchmark/HeatEquationBenchmarkProblem_impl.h
@@ -536,7 +536,6 @@ getExplicitUpdate( const RealType& time,
          cudaThreadSynchronize();         
          TNL_CHECK_CUDA_DEVICE;
       }
-      #endif
       if( this->cudaKernelType == "templated" )
       {
          //if( !this->cudaMesh )
@@ -641,6 +640,7 @@ getExplicitUpdate( const RealType& time,
             
          }
       }      
+      #endif
    }
 }
 
-- 
GitLab