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

Method syncAll

samples/common/sampleInference.cpp:777–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775 }
776
777 void syncAll(
778 TimePoint const& cpuStart, TrtCudaEvent const& gpuStart, std::vector<InferenceTrace>& trace, bool skipTransfers)
779 {
780 for (int32_t d = 0; d < mDepth; ++d)
781 {
782 sync(cpuStart, gpuStart, trace, skipTransfers);
783 moveNext();
784 }
785 }
786
787 void wait(TrtCudaEvent& gpuStart)
788 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected