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

Method sleep

samples/common/sampleDevice.h:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 void wait(TrtCudaEvent& event);
89
90 void sleep(float* ms)
91 {
92 cudaCheck(cudaLaunchHostFunc(mStream, cudaSleep, ms));
93 }
94
95private:
96 cudaStream_t mStream{};

Callers 3

infer_implMethod · 0.80
runInferenceFunction · 0.80
runMultiTasksInferenceFunction · 0.80

Calls 1

cudaCheckFunction · 0.85

Tested by

no test coverage detected