Discussion on the OpenMP specification run by the OpenMP ARB. OpenMP and the OpenMP logo are registered trademarks of the OpenMP Architecture Review Board in the United States and other countries. All rights reserved.
From the Draft (section 2.5.1) it may be not clear whether only nested loops can be associated in a loop construct by collapse clause. For example, will the following code be conforming and iterations of these two adjacent loops will be collapsed into one iteration space?