Pragma that provides information to the code generator for making parallelization decisions on variable bound loops
coder.gpu.iterations(
pragma can
be used to specify the average number of iterations (AVG_NUM_ITER
)AVG_NUM_ITER
) for a
variable-bound for
-loop that immediately follows it. This value is used
to provide heuristics towards making parallelization decisions for imperfect loops. This
pragma does not affect fixed-bound for
-loops.
This is a code generation function. It has no effect in MATLAB®.
codegen
| coder.gpu.constantMemory
| coder.gpu.kernel
| coder.gpu.kernelfun
| coder.gpu.nokernel
| gpucoder.reduce
| gpucoder.sort
| gpucoder.stencilKernel