| 790 | } |
| 791 | |
| 792 | void setInputData(bool sync) |
| 793 | { |
| 794 | mBindings.transferInputToDevice(getStream(StreamType::kINPUT)); |
| 795 | // additional sync to avoid overlapping with inference execution. |
| 796 | if (sync) |
| 797 | { |
| 798 | getStream(StreamType::kINPUT).synchronize(); |
| 799 | } |
| 800 | } |
| 801 | |
| 802 | void fetchOutputData(bool sync) |
| 803 | { |
no test coverage detected