This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][PR67476] Add param parloops-schedule
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: Richard Biener <rguenther at suse dot de>, "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Date: Fri, 11 Sep 2015 12:57:49 +0200
- Subject: Re: [PATCH][PR67476] Add param parloops-schedule
- Authentication-results: sourceware.org; auth=none
- References: <55F2B304 dot 7060604 at mentor dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Sep 11, 2015 at 12:55:00PM +0200, Tom de Vries wrote:
> Hi,
>
> this patch adds a param parloops-schedule=<0-4>, which sets the omp schedule
> for loops paralellized by parloops.
>
> The <0-4> maps onto <static|dynamic|guided|auto|runtime>.
>
> Bootstrapped and reg-tested on x86_64.
>
> OK for trunk?
I don't really like it, the mapping of the integers to the enum values
is non-obvious and hard to remember.
Perhaps add support for enumeration params if you want this instead?
Jakub