MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ExitWithMsg

Function ExitWithMsg

tensorflow/compiler/xla/tools/driver.cc:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62namespace {
63
64[[noreturn]] void ExitWithMsg(const std::string& msg) {
65 std::cerr << msg << std::endl;
66 exit(1);
67}
68
69void Check(bool cond, const std::string& msg = "Precondition failed") {
70 if (!cond) {

Callers 4

CheckFunction · 0.85
FillFunction · 0.85
DisplayFunction · 0.85
mainFunction · 0.85

Calls 1

exitFunction · 0.85

Tested by

no test coverage detected