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