| 800 | } |
| 801 | |
| 802 | void fetchOutputData(bool sync) |
| 803 | { |
| 804 | mBindings.transferOutputToHost(getStream(StreamType::kOUTPUT)); |
| 805 | // additional sync to avoid overlapping with inference execution. |
| 806 | if (sync) |
| 807 | { |
| 808 | getStream(StreamType::kOUTPUT).synchronize(); |
| 809 | } |
| 810 | } |
| 811 | |
| 812 | private: |
| 813 | void moveNext() |
no test coverage detected