#include "AthOnnxInterfaces/IAthInferenceTool.h"
#include "grpc_client.h"
#include "grpc_service.pb.h"
#include <string>
#include <vector>
#include <memory>
#include "AthenaBaseComps/AthAlgTool.h"
#include "TritonTool.icc"
Go to the source code of this file.
◆ FAIL_IF_ERR
| #define FAIL_IF_ERR |
( |
| X, |
|
|
| MSG ) |
Value:{ \
tc::Error err = (X); \
if (!err.IsOk()) { \
return StatusCode::FAILURE; \
} \
}
Definition at line 21 of file TritonTool.h.
21#define FAIL_IF_ERR(X, MSG) \
22{ \
23 tc::Error err = (X); \
24 if (!err.IsOk()) { \
25 ATH_MSG_ERROR(MSG); \
26 return StatusCode::FAILURE; \
27 } \
28}