|
Poplar and PopLibs
|
A program that repeatedly executes for a fixed number of iterations. More...
#include <Program.hpp>
Public Member Functions | |
| Repeat (unsigned count, const Program &prog, const DebugContext &debugContext={}) | |
| Construct a repeat program. More... | |
A program that repeatedly executes for a fixed number of iterations.
For more flexible loop operations see the PopLibs functions popops::countedLoop() and popops::countedForLoop().
| poplar::program::Repeat::Repeat | ( | unsigned | count, |
| const Program & | prog, | ||
| const DebugContext & | debugContext = {} |
||
| ) |
Construct a repeat program.
| count | The number of iterations to repeat for. |
| prog | The program to repeatedly execute. |
| debugContext | Optional DebugId and program name. |