| 4 | #include <util/thread/pool.h> |
| 5 | |
| 6 | void RunGpuProgram(std::function<void()> func) { |
| 7 | TThreadPool queue; |
| 8 | queue.Start(1); |
| 9 | NThreading::TFuture<void> future = NThreading::Async( |
| 10 | func, |
| 11 | queue |
| 12 | ); |
| 13 | future.GetValueSync(); |
| 14 | } |
nothing calls this directly
no test coverage detected