tvm
Classes | Namespaces | Enumerations | Functions
diagnostic.h File Reference

A new diagnostic interface for TVM error reporting. More...

#include <tvm/ir/module.h>
#include <sstream>
#include <string>
Include dependency graph for diagnostic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::DiagnosticNode
 A compiler diagnostic message. More...
 
class  tvm::Diagnostic
 
class  tvm::DiagnosticBuilder
 A wrapper around std::stringstream to build a diagnostic. More...
 
class  tvm::DiagnosticRendererNode
 Display diagnostics in a given display format. More...
 
class  tvm::DiagnosticRenderer
 
class  tvm::DiagnosticContextNode
 
class  tvm::DiagnosticContext
 

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 

Enumerations

enum class  tvm::DiagnosticLevel : int {
  tvm::kBug = 10 , tvm::kError = 20 , tvm::kWarning = 30 , tvm::kNote = 40 ,
  tvm::kHelp = 50
}
 The diagnostic level, controls the printing of the message. More...
 

Functions

DiagnosticRenderer tvm::TerminalRenderer (std::ostream &ostream)
 

Detailed Description

A new diagnostic interface for TVM error reporting.