Template Numerical Library version\ main:88903d64
Loading...
Searching...
No Matches
Classes | Functions
TNL::Assert Namespace Reference

Internal namespace for helper classes used in the TNL_ASSERT_* macros. More...

Classes

struct  AssertionError
 Exception that represents an assertion error and its diagnostics.
 
struct  Formatter
 
struct  Formatter< bool >
 
struct  Formatter< Pointers::DevicePointer< Object, Device > >
 
struct  Formatter< Pointers::SharedPointer< Object, Device > >
 
struct  Formatter< Pointers::UniquePointer< Object, Device > >
 
struct  Formatter< std::pair< T, U > >
 

Functions

__cuda_callable__ void abortWithDiagnosticsCuda (const char *assertion, const char *message, const char *file, const char *function, int line, const char *diagnostics)
 
void abortWithDiagnosticsHost (const char *assertion, const char *message, const char *file, const char *function, int line, const char *diagnostics)
 
template<typename T1 , typename T2 >
TNL_NVCC_HD_WARNING_DISABLE __cuda_callable__ void cmpHelperFalse (const char *assertion, const char *message, const char *file, const char *function, int line, const char *expr1, const char *expr2, const T1 &val1, const T2 &val2)
 
template<typename T1 , typename T2 >
__cuda_callable__ void cmpHelperOpFailure (const char *assertion, const char *message, const char *file, const char *function, int line, const char *lhs_expression, const char *rhs_expression, const T1 &lhs_value, const T2 &rhs_value, const char *op)
 
template<typename T1 , typename T2 >
TNL_NVCC_HD_WARNING_DISABLE __cuda_callable__ void cmpHelperTrue (const char *assertion, const char *message, const char *file, const char *function, int line, const char *expr1, const char *expr2, const T1 &val1, const T2 &val2)
 

Detailed Description

Internal namespace for helper classes used in the TNL_ASSERT_* macros.