Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
CheckValue.h File Reference
#include <hydra/detail/Config.h>
#include <stdio.h>
#include <cmath>
#include <utility>
#include <math.h>
Include dependency graph for CheckValue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 hydra
 Generic policies definition.
 
 hydra::detail
 

Macros

#define ANSI_COLOR_BLUE   "\x1b[34m"
 
#define ANSI_COLOR_CYAN   "\x1b[36m"
 
#define ANSI_COLOR_GREEN   "\x1b[32m"
 
#define ANSI_COLOR_MAGENTA   "\x1b[35m"
 
#define ANSI_COLOR_RED   "\x1b[31m"
 
#define ANSI_COLOR_RESET   "\x1b[0m"
 
#define ANSI_COLOR_YELLOW   "\x1b[33m"
 
#define CHECK_VALUE(x, fmt, ...)   detail::CheckValue(x, fmt, __FILE__ ,__PRETTY_FUNCTION__ , __LINE__ , __VA_ARGS__)
 

Functions

template<typename T , typename ... Ts>
__hydra_host__ __hydra_device__hydra::detail::CheckValue (T &&x, char const *fmt, char const *file, char const *function, unsigned int line, Ts &&...par)
 
template<typename T , typename ... Ts>
__hydra_host__ __hydra_device__hydra::detail::kill (T &&x)
 

Macro Definition Documentation

◆ ANSI_COLOR_BLUE

#define ANSI_COLOR_BLUE   "\x1b[34m"

◆ ANSI_COLOR_CYAN

#define ANSI_COLOR_CYAN   "\x1b[36m"

◆ ANSI_COLOR_GREEN

#define ANSI_COLOR_GREEN   "\x1b[32m"

◆ ANSI_COLOR_MAGENTA

#define ANSI_COLOR_MAGENTA   "\x1b[35m"

◆ ANSI_COLOR_RED

#define ANSI_COLOR_RED   "\x1b[31m"

◆ ANSI_COLOR_RESET

#define ANSI_COLOR_RESET   "\x1b[0m"

◆ ANSI_COLOR_YELLOW

#define ANSI_COLOR_YELLOW   "\x1b[33m"

◆ CHECK_VALUE

#define CHECK_VALUE (   x,
  fmt,
  ... 
)    detail::CheckValue(x, fmt, __FILE__ ,__PRETTY_FUNCTION__ , __LINE__ , __VA_ARGS__)