Loading src/Examples/flow-sw/navierStokesProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -177,10 +177,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -197,7 +194,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/flow-vl/navierStokesProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -177,10 +177,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -197,7 +194,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/flow/navierStokesProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -189,10 +189,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -209,7 +206,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/inviscid-flow-sw/eulerProblem_impl.h +2 −6 Original line number Diff line number Diff line Loading @@ -174,11 +174,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -195,7 +191,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading src/Examples/inviscid-flow-vl/eulerProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -174,10 +174,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -194,7 +191,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading Loading
src/Examples/flow-sw/navierStokesProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -177,10 +177,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -197,7 +194,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/flow-vl/navierStokesProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -177,10 +177,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -197,7 +194,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/flow/navierStokesProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -189,10 +189,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -209,7 +206,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/inviscid-flow-sw/eulerProblem_impl.h +2 −6 Original line number Diff line number Diff line Loading @@ -174,11 +174,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /* FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -195,7 +191,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading
src/Examples/inviscid-flow-vl/eulerProblem_impl.h +2 −5 Original line number Diff line number Diff line Loading @@ -174,10 +174,7 @@ makeSnapshot( const RealType& time, physicalVariablesGetter.getVelocity( this->conservativeVariables, this->velocity ); physicalVariablesGetter.getPressure( this->conservativeVariables, this->gamma, this->pressure ); TNL_ASSERT_TRUE( false, "The following does not work." ); // nvcc 10.1.243 // TNL/Functions/VectorField.h|404| error #2986: cannot use an entity undefined in device code /*FileName fileName; FileName fileName; fileName.setExtension( "vti" ); fileName.setIndex( step ); fileName.setFileNameBase( "density-" ); Loading @@ -194,7 +191,7 @@ makeSnapshot( const RealType& time, fileName.setFileNameBase( "momentum-" ); this->conservativeVariables->getMomentum()->write( "momentum", fileName.getFileName() ); */ return true; } Loading