Commit ffb39863 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing heat equation simple benchmark for CUDA.

parent 6a555131
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
set( tnl_heat_equation_SOURCES     
     tnl-heat-equation.cpp
     tnl-heat-equation-eoc.cpp )
     tnl-heat-equation-eoc.cpp
     tnl-heat-equation.cu
     tnl-heat-equation-eoc.cu )
               
IF( BUILD_CUDA )
   CUDA_ADD_EXECUTABLE(tnl-heat-equation${debugExt} tnl-heat-equation.cu)
@@ -22,4 +24,5 @@ INSTALL( TARGETS tnl-heat-equation${debugExt}
        
INSTALL( FILES tnl-run-heat-equation-eoc-test
               tnl-run-heat-equation
               ${tnl_heat_equation_SOURCES}
         DESTINATION share/tnl-${tnlVersion}/examples/heat-equation )
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ SET( headers tnlFunctionDiscretizer.h
             tnlFunctionEnumerator.h
             tnlFunctionEnumerator_impl.h
             tnlFunctorAdapter.h
             tnlFunctionAdapter.h
             tnlConstantFunction.h
             tnlConstantFunction_impl.h
             tnlExpBumpFunction.h
+7 −1
Original line number Diff line number Diff line
SET( headers tnlGrid1D.h
SET( headers tnlBoundaryGridEntityChecker.h
             tnlGrid1D.h
             tnlGrid1D_impl.h
             tnlGrid2D.h
             tnlGrid2D_impl.h
@@ -7,8 +8,13 @@ SET( headers tnlGrid1D.h
             tnlGridEntityTopology.h
             tnlGridEntity.h
             tnlGridEntity_impl.h
             tnlGridEntityCenterGetter.h
             tnlGridEntityGetter.h
             tnlGridEntityGetter_impl.h
             tnlNeighbourGridEntityGetter.h
             tnlNeighbourGridEntityGetter1D_impl.h
             tnlNeighbourGridEntityGetter2D_impl.h
             tnlNeighbourGridEntityGetter3D_impl.h
             tnlTraverser_Grid1D.h
             tnlTraverser_Grid1D_impl.h 
             tnlTraverser_Grid2D.h
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#ifndef SRC_MESH_TNLGRID1D_H_
#define SRC_MESH_TNLGRID1D_H_

#include <core/tnlStaticMultiIndex.h>
//#include <core/tnlStaticMultiIndex.h>
#include <core/tnlLogger.h>
#include <mesh/grids/tnlGridEntityTopology.h>
#include <mesh/grids/tnlGridEntityGetter.h>
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#ifndef SRC_MESH_TNLGRID2D_H_
#define SRC_MESH_TNLGRID2D_H_

#include <core/tnlStaticMultiIndex.h>
//#include <core/tnlStaticMultiIndex.h>
#include <mesh/grids/tnlGridEntityTopology.h>
#include <mesh/grids/tnlGridEntityGetter.h>
#include <mesh/grids/tnlNeighbourGridEntityGetter.h>
Loading