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

Function execute_async

python/src/infer/pyCore.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91};
92
93bool execute_async(IExecutionContext& self, int32_t batchSize, std::vector<size_t>& bindings,
94 size_t streamHandle, void* inputConsumed) {
95 return self.enqueue(batchSize, reinterpret_cast<void**>(bindings.data()),
96 reinterpret_cast<cudaStream_t>(streamHandle), reinterpret_cast<cudaEvent_t*>(inputConsumed));
97};
98
99static const auto execute_v2 = [](IExecutionContext& self, std::vector<size_t>& bindings) {
100 return self.executeV2(reinterpret_cast<void**>(bindings.data()));

Callers

nothing calls this directly

Calls 2

enqueueMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected