[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 11 13:00:22 GMT 2021


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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #10)
> Oddly, if one replaces
> 
>  #pragma omp target teams distribute parallel for reduction(||: orfc)
> map(orfc)
> 
> by
> 
>  #pragma omp target map(orfc)
>  {
>   #pragma teams distribute parallel for reduction(||: orfc)

Missing omp before teams.


More information about the Gcc-bugs mailing list