MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / operator+

Function operator+

samples/common/sampleReporting.h:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105};
106
107inline InferenceTime operator+(InferenceTime const& a, InferenceTime const& b)
108{
109 return InferenceTime(a.enq + b.enq, a.h2d + b.h2d, a.compute + b.compute, a.d2h + b.d2h);
110}
111
112inline InferenceTime operator+=(InferenceTime& a, InferenceTime const& b)
113{

Callers

nothing calls this directly

Calls 1

InferenceTimeClass · 0.85

Tested by

no test coverage detected