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

Method endCapture

samples/common/sampleDevice.h:192–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 }
191
192 void endCapture(TrtCudaStream& stream)
193 {
194 cudaCheck(cudaStreamEndCapture(stream.get(), &mGraph));
195 cudaCheck(cudaGraphInstantiate(&mGraphExec, mGraph, nullptr, nullptr, 0));
196 cudaCheck(cudaGraphDestroy(mGraph));
197 }
198
199 void endCaptureOnError(TrtCudaStream& stream)
200 {

Callers 1

createEnqueueFunctionMethod · 0.45

Calls 2

cudaCheckFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected