CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros | Functions
triton_utils.h File Reference
#include "FWCore/Utilities/interface/Span.h"
#include "HeterogeneousCore/SonicTriton/interface/TritonException.h"
#include <string>
#include <string_view>
#include <vector>
#include <unordered_set>
#include "grpc_client.h"

Go to the source code of this file.

Namespaces

 triton_utils
 

Macros

#define TRITON_THROW_IF_ERROR(X, MSG)
 

Functions

template<typename DT >
bool triton_utils::checkType (inference::DataType dtype)
 
template<typename C >
std::string triton_utils::printColl (const C &coll, const std::string &delim=", ")
 

Macro Definition Documentation

#define TRITON_THROW_IF_ERROR (   X,
  MSG 
)
Value:
{ \
if (!err.IsOk()) \
throw TritonException("TritonFailure") << (MSG) << (err.Message().empty() ? "" : ": " + err.Message()); \
}
edm::ErrorSummaryEntry Error
#define X(str)
Definition: MuonsGrabber.cc:38
if(conf_.getParameter< bool >("UseStripCablingDB"))

Definition at line 75 of file triton_utils.h.

Referenced by TritonCpuShmResource< IO >::close(), TritonClient::evaluate(), TritonClient::getResults(), TritonClient::getServerSideStatus(), TritonMemResource< IO >::set(), TritonClient::TritonClient(), TritonCpuShmResource< IO >::TritonCpuShmResource(), and TritonService::TritonService().