tions"><h2><a href="#ForEachCUDAIteratorBasedParallelIterations">Iterator-based Parallel Iterations</a></h2><p>Iterator-based parallel-for performs parallel iterations over a range specified by two STL-styled iterators, <code>first</code> and <code>last</code>. The task created by <a href="classtf_1_1cudaFlow.html#a1a681f6223853b6445dcfdad07e4d0fd" class="m-doc">tf::<wbr />cudaFlow::<wbr />for_each(I first, I last, C callable)</a> represents a parallel execution of the following loop:</p><pre class="m-code"