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

Method operator()

samples/common/sampleInference.cpp:647–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645 }
646
647 bool operator()(TrtCudaStream& stream) const
648 {
649 try
650 {
651 return mContext.enqueueV3(stream.get());
652 }
653 catch (const std::exception&)
654 {
655 return false;
656 }
657 return false;
658 }
659
660 nvinfer1::safe::IExecutionContext& mContext;
661private:

Callers

nothing calls this directly

Calls 2

enqueueV3Method · 0.80
getMethod · 0.45

Tested by

no test coverage detected