Loading src/core/tnlAssert.h +8 −8 Original line number Diff line number Diff line Loading @@ -15,12 +15,12 @@ using namespace std; #define tnlAssert( ___tnl__assert_condition, ___tnl__assert_command ) \ if( ! ___tnl__assert_condition ) \ if( ! ( ___tnl__assert_condition ) ) \ { \ cerr << "Assertion '___tnl__assert_condition' failed !!!" << endl \ << "File: __FILE__" << endl \ << "Function: __PRETTY_FUNCTION__ " << endl \ << "Line: __LINE__" << endl \ cerr << "Assertion '" << __STRING( ___tnl__assert_condition ) << "' failed !!!" << endl \ << "File: " << __FILE__ << endl \ << "Function: " << __PRETTY_FUNCTION__ << endl \ << "Line: " << __LINE__ << endl \ << "Diagnostics: "; \ ___tnl__assert_command; \ exit( EXIT_FAILURE ); \ Loading src/core/tnlLongVectorCUDA.h +7 −7 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; } #endif Loading @@ -92,7 +92,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; } #endif Loading Loading @@ -126,7 +126,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; return false; }; #endif Loading @@ -146,7 +146,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; }; #endif Loading Loading @@ -187,7 +187,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject } return true; #else cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; return false; #endif }; Loading @@ -206,7 +206,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject cudaThreadSynchronize(); return true; #else cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; return false; #endif }; Loading @@ -222,7 +222,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject cerr << "Unable to free alocated memory of " << GetName() << "." << endl; } #else cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; #endif }; Loading src/core/tnlField2D.h +1 −1 File changed.Contains only whitespace changes. Show changes Loading
src/core/tnlAssert.h +8 −8 Original line number Diff line number Diff line Loading @@ -15,12 +15,12 @@ using namespace std; #define tnlAssert( ___tnl__assert_condition, ___tnl__assert_command ) \ if( ! ___tnl__assert_condition ) \ if( ! ( ___tnl__assert_condition ) ) \ { \ cerr << "Assertion '___tnl__assert_condition' failed !!!" << endl \ << "File: __FILE__" << endl \ << "Function: __PRETTY_FUNCTION__ " << endl \ << "Line: __LINE__" << endl \ cerr << "Assertion '" << __STRING( ___tnl__assert_condition ) << "' failed !!!" << endl \ << "File: " << __FILE__ << endl \ << "Function: " << __PRETTY_FUNCTION__ << endl \ << "Line: " << __LINE__ << endl \ << "Diagnostics: "; \ ___tnl__assert_command; \ exit( EXIT_FAILURE ); \ Loading
src/core/tnlLongVectorCUDA.h +7 −7 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; } #endif Loading @@ -92,7 +92,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; } #endif Loading Loading @@ -126,7 +126,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; return false; }; #endif Loading @@ -146,7 +146,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject }; #else { cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; }; #endif Loading Loading @@ -187,7 +187,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject } return true; #else cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; return false; #endif }; Loading @@ -206,7 +206,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject cudaThreadSynchronize(); return true; #else cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; return false; #endif }; Loading @@ -222,7 +222,7 @@ template< class T > class tnlLongVectorCUDA : public tnlObject cerr << "Unable to free alocated memory of " << GetName() << "." << endl; } #else cerr << "CUDA support is missing in this system." << endl; cerr << "CUDA support is missing on this system." << endl; #endif }; Loading