SUNphi
1.0
|
Unroll iteratively a loop. More...
Go to the source code of this file.
Functions | |
template<int min, int max, typename F , typename... Args> | |
SUNphi::__attribute__ ((always_inline)) inline void loopUnroll(F f | |
SUNphi::f (cur, forw< Args >(args)...) | |
if | SUNphi::constexpr (next< max) loopUnroll< next |
if | SUNphi::Args (f, forw< Args >(args)...) |
Variables | |
Args && | SUNphi::args |
< Function to cal More... | |
constexpr int | SUNphi::next |
Next value. More... | |
if | SUNphi::max |
if | SUNphi::F |
Unroll iteratively a loop.
Definition in file LoopUnroll.hpp.
SUNphi::__attribute__ | ( | (always_inline) | ) |
Unroll a loop in the range [min,max)
The called function must take as a first argument the iteration
Args&& SUNphi::args |
< Function to cal
< Arguments to pass
Definition at line 22 of file LoopUnroll.hpp.
constexpr int SUNphi::next |