<div dir="ltr">Hello,<div>If we have multiple loops in a single program like loop 1 with 20 iterations, loop 2 with 40 iterations, loop 3 with 10 iteration, loop 4 with 7 iterations and so on.</div><div><br></div><div>How can we set different vector width for each loop? using force-vector-width</div><div>like if i pass 16 with force vector width it does not vectorize loop 3 and 4. so i want to pass vec width 16 for loop 1 & 2. width =8 for loop 3 and width=4 for loop 4.</div><div><br></div><div>i think it can work this way using #pragma. but how to achieve this using auto vectorization without pragmas. some special flag?</div><div><br></div><div><br></div><div>Please reply</div><div><br></div><div>Thank You</div></div>