Implement nD ParallelFor
Implement nD ParallelFor
using StaticArray< Dim, Index >
as:
template< typename Device, typename Mode >
struct ParallelFor{
template< int Dim,
typename Index,
typename Function,
typename... FunctionArgs >
static void exec( const StaticArray< Dim, Index >& start, const StaticArray< Dim, Index >& end, Function F, FunctionArgs.. args );
}
Edited by Tomáš Oberhuber