The libgomp.oacc-fortran/privatized-ref-1.f95 also has the same issue, and has been fixed in the same way. Kwok On 16/09/2020 11:33 am, Kwok Cheung Yeung wrote: > Hello > > The libgomp.oacc-c++/privatized-ref-[23].C testcases request 64 workers in a > parallel section, but Nvidia only supports a maximum of 32 workers, and GCN a > maximum of 16. The worker numbers are overridden by the compiler with a warning > message printed, which causes test failures on Nvidia. On GCN, the warning > message is not printed by default (enabled by -foffload=-Wopenacc-dims). > > This patch fixes this by requesting 16 workers, which is acceptable on both > Nvidia and AMD GCN. Committed on the OG10 branch as obvious. > > Kwok