Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
95
private:
96
cudaStream_t mStream{};
Callers
3
infer_impl
Method · 0.80
runInference
Function · 0.80
runMultiTasksInference
Function · 0.80
Calls
1
cudaCheck
Function · 0.85
Tested by
no test coverage detected