Main Content
coder.gpu.iterations
Pragma that provides information to the code generator for making parallelization decisions on variable bound loops
Description
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®.
Examples
Input Arguments
Version History
Introduced in R2019a
See Also
Apps
Functions
codegen
|coder.gpu.kernel
|coder.gpu.kernelfun
|gpucoder.stencilKernel
|coder.gpu.constantMemory
|gpucoder.reduce
|gpucoder.sort
|coder.gpu.nokernel