Loading src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h +7 −5 Original line number Diff line number Diff line Loading @@ -52,13 +52,14 @@ HeatEquationBenchmarkProblem< Mesh, BoundaryCondition, RightHandSide, Differenti getPrologHeader() const { if( this->cudaKernelType == "pure-c" ) return String( "Heat Equation Benchmark PURE-C test" ); return "Heat Equation Benchmark PURE-C test"; if( this->cudaKernelType == "templated" ) return String( "Heat Equation Benchmark TEMPLATED test" ); return "Heat Equation Benchmark TEMPLATED test"; if( this->cudaKernelType == "templated-compact" ) return String( "Heat Equation Benchmark TEMPLATED COMPACT test" ); return "Heat Equation Benchmark TEMPLATED COMPACT test"; if( this->cudaKernelType == "tunning" ) return String( "Heat Equation Benchmark TUNNIG test" ); return "Heat Equation Benchmark TUNNIG test"; return ""; } template< typename Mesh, Loading Loading @@ -706,11 +707,12 @@ applyBoundaryConditions( const RealType& time, #endif userData.boundaryConditions = &this->boundaryConditionPointer.template getData< Devices::Cuda >(); Meshes::Traverser< MeshType, Cell > meshTraverser; // */ /*meshTraverser.template processBoundaryEntities< UserData, BoundaryEntitiesProcessor > ( mesh, userData );*/ // */ /*_boundaryConditionsKernel< BoundaryEntitiesProcessor, UserData, MeshType, RealType, IndexType > <<< cudaGridSize, cudaBlockSize >>> ( &mesh.template getData< Devices::Cuda >(), Loading src/Benchmarks/HeatEquation/HeatEquationBenchmarkRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ template< typename Mesh, typename Real >class HeatEquationBenchmarkRhs Real operator()( const MeshEntity& entity, const Real& time = 0.0 ) const { typedef typename MeshEntity::MeshType::PointType PointType; PointType v = entity.getCenter(); //typedef typename MeshEntity::MeshType::PointType PointType; //PointType v = entity.getCenter(); return 0.0; } }; Loading src/Benchmarks/HeatEquation/tnl-benchmark-heat-equation.h +1 −0 Original line number Diff line number Diff line Loading @@ -100,6 +100,7 @@ class HeatEquationBenchmarkSetter typedef HeatEquationBenchmarkProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator, CommunicatorType > Problem; SolverStarter solverStarter; return solverStarter.template run< Problem >( parameters );*/ return false; } }; Loading Loading
src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h +7 −5 Original line number Diff line number Diff line Loading @@ -52,13 +52,14 @@ HeatEquationBenchmarkProblem< Mesh, BoundaryCondition, RightHandSide, Differenti getPrologHeader() const { if( this->cudaKernelType == "pure-c" ) return String( "Heat Equation Benchmark PURE-C test" ); return "Heat Equation Benchmark PURE-C test"; if( this->cudaKernelType == "templated" ) return String( "Heat Equation Benchmark TEMPLATED test" ); return "Heat Equation Benchmark TEMPLATED test"; if( this->cudaKernelType == "templated-compact" ) return String( "Heat Equation Benchmark TEMPLATED COMPACT test" ); return "Heat Equation Benchmark TEMPLATED COMPACT test"; if( this->cudaKernelType == "tunning" ) return String( "Heat Equation Benchmark TUNNIG test" ); return "Heat Equation Benchmark TUNNIG test"; return ""; } template< typename Mesh, Loading Loading @@ -706,11 +707,12 @@ applyBoundaryConditions( const RealType& time, #endif userData.boundaryConditions = &this->boundaryConditionPointer.template getData< Devices::Cuda >(); Meshes::Traverser< MeshType, Cell > meshTraverser; // */ /*meshTraverser.template processBoundaryEntities< UserData, BoundaryEntitiesProcessor > ( mesh, userData );*/ // */ /*_boundaryConditionsKernel< BoundaryEntitiesProcessor, UserData, MeshType, RealType, IndexType > <<< cudaGridSize, cudaBlockSize >>> ( &mesh.template getData< Devices::Cuda >(), Loading
src/Benchmarks/HeatEquation/HeatEquationBenchmarkRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ template< typename Mesh, typename Real >class HeatEquationBenchmarkRhs Real operator()( const MeshEntity& entity, const Real& time = 0.0 ) const { typedef typename MeshEntity::MeshType::PointType PointType; PointType v = entity.getCenter(); //typedef typename MeshEntity::MeshType::PointType PointType; //PointType v = entity.getCenter(); return 0.0; } }; Loading
src/Benchmarks/HeatEquation/tnl-benchmark-heat-equation.h +1 −0 Original line number Diff line number Diff line Loading @@ -100,6 +100,7 @@ class HeatEquationBenchmarkSetter typedef HeatEquationBenchmarkProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator, CommunicatorType > Problem; SolverStarter solverStarter; return solverStarter.template run< Problem >( parameters );*/ return false; } }; Loading