MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
Loading...
Searching...
No Matches
include
MLModelRunner
Utils
Debug.h
Go to the documentation of this file.
1
//=== MLModelRunner/Utils/Debug.h - Debug definitions with support - C++ --===//
2
//
3
// Part of the MLCompilerBridge Project, under the Apache License v2.0 with LLVM
4
// Exceptions. See the LICENSE file for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef MLBRIDGE_DEBUG_H
15
#define MLBRIDGE_DEBUG_H
16
17
namespace
MLBridge
{
18
19
#ifdef DEBUG_MODE
20
#define MLBRIDGE_DEBUG(X) \
21
do { \
22
X; \
23
} while (false)
24
#else
25
#define MLBRIDGE_DEBUG(X)
26
#endif
27
28
}
// namespace MLBridge
29
30
#endif
MLBridge
Definition
gRPCModelRunner.h:75
Generated by
1.10.0