| 555 | } |
| 556 | |
| 557 | bool operator()(TrtCudaStream& stream) const |
| 558 | { |
| 559 | try |
| 560 | { |
| 561 | bool const result = mContext.enqueueV3(stream.get()); |
| 562 | // Collecting layer timing info from current profile index of execution context |
| 563 | if (mContext.getProfiler() && !mContext.getEnqueueEmitsProfile() && !mContext.reportToProfiler()) |
| 564 | { |
| 565 | gLogWarning << "Failed to collect layer timing info from previous enqueueV3()" << std::endl; |
| 566 | } |
| 567 | return result; |
| 568 | } |
| 569 | catch (const std::exception&) |
| 570 | { |
| 571 | return false; |
| 572 | } |
| 573 | return false; |
| 574 | } |
| 575 | |
| 576 | private: |
| 577 | Bindings const& mBindings; |
nothing calls this directly
no test coverage detected