This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, PR82428] Add __builtin_goacc_{gang,worker,vector}_{id,size}


On Mon, Jan 15, 2018 at 12:12:10PM +0100, Tom de Vries wrote:
> > It can be just number of course.  parlevel is fine for me.
> > 
> 
> So, in summary, I propose as interface:
> - int __builtin_goacc_parlevel_id (int);
> - int __builtin_goacc_parlevel_size (int);
> with arguments 0, 1, and 2 meaning gang, worker and vector.

LGTM.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]