https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97070

--- Comment #4 from Ioannis E. Venetis <venetis at ceid dot upatras.gr> ---
It seems that the problem was indeed some kind of confusion due to multiple gcc
installs. I removed the nvptx related packages of gcc-9.3.0 from my Ubuntu
16.04.7 LTS system (packages gcc-9-offload-nvptx, libgomp-plugin-nvptx1 and
nvptx-tools). After recompiling the test application I get the correct results
with OpenACC (and with OpenMP).

Why this problem happens and why it only affects OpenACC might still be
interesting to investigate.

Reply via email to