Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
62
namespace {
63
64
[[noreturn]] void ExitWithMsg(const std::string& msg) {
65
std::cerr << msg << std::endl;
66
exit(1);
67
}
68
69
void Check(bool cond, const std::string& msg =
"Precondition failed"
) {
70
if (!cond) {
Callers
4
Check
Function · 0.85
Fill
Function · 0.85
Display
Function · 0.85
main
Function · 0.85
Calls
1
exit
Function · 0.85
Tested by
no test coverage detected