Re: [PATCH] [og10] openmp: Scale precision of collapsed iteration variable

2021-03-04 Thread Tobias Burnus
Hello Kwok, On 01.03.21 23:28, Kwok Cheung Yeung wrote: When two or more nested loops are collapsed using the OpenMP collapse clause, a single iteration variable is used to represent the combined iteration space. In the usual case (i.e. statically scheduled, no ordered clause), the type of this

[PATCH] [og10] openmp: Scale precision of collapsed iteration variable

2021-03-01 Thread Kwok Cheung Yeung
Hello When two or more nested loops are collapsed using the OpenMP collapse clause, a single iteration variable is used to represent the combined iteration space. In the usual case (i.e. statically scheduled, no ordered clause), the type of this variable is picked by taking the unsigned versio