Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 6/30/2025
Public
Document Table of Contents

SIZES Clause

Loop Transformation Directive Clause: Specifies a list of one or more strides or sizes used in dividing the iteration space of a loop to be transformed.

Syntax

SIZES (size-list)

size

Is a positive integer expression. size-list is a comma separated list of one or more size expressions.

Description

The SIZES clause specifies how the iteration space of the associated loop nest is to be restructured. If there are n list items in size-list, the loop nest is divided into n-dimensional grid cells according to the loop transformation specified by the loop transformation directive containing the SIZES clause. Each list item indicates the size of the grid cells along each corresponding dimension, with the first list item corresponding to the outermost loop, the second list item corresponding to the next outermost loop, etc. If there are n list items in size-list, the loop depth must be at least n loops deep. List items don't need to be unique; an expression can appear as more than one size-list item.