Skip to content

File logger_viewer.h

FileList > logger > logger_viewer.h

Go to the source code of this file

  • #include <muda/logger/logger_basic_data.h>
  • #include <muda/muda_def.h>
  • #include <muda/check/check_cuda_errors.h>
  • #include <muda/literal/unit.h>
  • #include <muda/viewer/dense.h>
  • #include <muda/logger/details/logger_viewer.inl>

Namespaces

Type Name
namespace muda

Classes

Type Name
class LogProxy
class LoggerViewer

Macros

Type Name
define PROXY_OPERATOR (enum_name, T)

Macro Definition Documentation

define PROXY_OPERATOR

#define PROXY_OPERATOR (
    enum_name,
    T
) MUDA_INLINE MUDA_DEVICE friend LogProxy operator<<(LogProxy p, T v)        \
    {                                                                          \
        details::LoggerMetaData meta;                                          \
        meta.type = LoggerBasicType::enum_name;                                \
        meta.size = sizeof(T);                                                 \
        meta.id   = p.m_log_id;                                                \
        p.push_data(meta, &v);                                                 \
        return p;                                                              \
    }


The documentation for this class was generated from the following file src/muda/logger/logger_viewer.h