[Bug fortran/109701] I have a MWE where an omp reduction breaks if I add the option for GPU offloading (even if it isn't used).
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 2 19:35:49 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109701
--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to Thomas Meltzer from comment #1)
> Could be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 but I
> am not sure. In my case the GPU offloading should be ignored.
Replacing the line
!$omp target teams if(is_GPU) !<---- comment this
by
!$omp target teams if(is_GPU) map(max_diff)
seems to make a difference for me. So it might be related to pr99928.
More information about the Gcc-bugs
mailing list