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

--- Comment #13 from Benjamin Schulz <schulz.benjamin at googlemail dot com> ---
Hi many thanks for the effort.
Sorry for the late reply. In desperation, by now I have tried to switch my code
to openmp entirely and compile it with clang... But openacc has more
parallelization levels (gang,loop, vector) as openmp since simd on gpu does not
work with clang. Also, I found the teams distribute keyword of openmp very
restrictive since once this appears, the code can not have commands between
#pragma omp target and #pragma omp teams distribute. This makes it difficult
to, do stuff on the target and then write a teams distribute loop on the
device. So i will try openacc again...



I use gentoo. They already have a gcc ebuild of the versions:

https://packages.gentoo.org/packages/sys-devel/gcc

 15.0.9999  : 15EAPI 8  ?amd64  ?x86    ?alpha  ?arm    ?arm64  ?hppa   ?mips  
?ppc    ?ppc64  ?riscv  ?sparc


15.0.1_pre20250323-r1  : 15EAPI

Since the entire gentoo is compiled everyday with gcc, I suppose I will not
switch to the 15.0.9999 version by now, which is the development code...

I do not know if gcc version 

15.0.1_pre20250323-r1  : 15EAPI

contains the fixes already. If a sufficiently stable version of gcc appears
that contains the fixes which compile my code, i will try them out happily and
convert my code again to open acc when on the device, and use openmp when on
the host, if this brings some speed.

Reply via email to