https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82428
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43147 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43147&action=edit Updated patch, using new interface New interface (as agreed upon here: https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01331.html ): - int __builtin_goacc_parlevel_id (int); - int __builtin_goacc_parlevel_size (int); with arguments 0, 1, and 2 meaning gang, worker and vector. To be retested.