omp for / do with linear clause, no step allowed?

Comments and discussion of the 4.1 OpenMP Draft specifications. Comment period ends September 30, 2015. See http://openmp.org/wp/openmp-specifications/ to download the specifications. (Read Only)
Locked
fewl9012
Posts: 73
Joined: Mon Jul 27, 2015 4:50 pm

omp for / do with linear clause, no step allowed?

Post by fewl9012 »

The syntax for the linear clause in omp for (page 56:7) and omp do (page 57:4) is 'linear(list)'. Is no step allowed in this case? Only the implicit step 1? Is this for induction variables in the loop that the compiler can't figure out, or can figure out but you want a private copy?

Locked