MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / EnqueueSafe

Method EnqueueSafe

samples/common/sampleInference.cpp:640–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638{
639public:
640 explicit EnqueueSafe(nvinfer1::safe::IExecutionContext& context, Bindings const& bindings)
641 : mContext(context)
642 , mBindings(bindings)
643 {
644 ASSERT(mBindings.setSafeTensorAddresses(mContext));
645 }
646
647 bool operator()(TrtCudaStream& stream) const
648 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected