Re: [lng-odp] [RFC API-NEXT PATCH] api: init: add unused feature hints to init struct

2017-05-31 Thread Bala Manoharan
On 31 May 2017 at 14:03, Savolainen, Petri (Nokia - FI/Espoo) wrote: > >> diff --git a/include/odp/api/spec/init.h b/include/odp/api/spec/init.h > > I think it's better to have a new file for this (feature.h). It may be needed > also in other parts (of implementation) than init. > > >> index 154c

Re: [lng-odp] [RFC API-NEXT PATCH] api: init: add unused feature hints to init struct

2017-05-31 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Bill Fischofer [mailto:bill.fischo...@linaro.org] > Sent: Wednesday, May 31, 2017 2:32 PM > To: Savolainen, Petri (Nokia - FI/Espoo) > Cc: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [RFC API-NEXT PATCH] api: init: add unused featu

Re: [lng-odp] [RFC API-NEXT PATCH] api: init: add unused feature hints to init struct

2017-05-31 Thread Bill Fischofer
On Wed, May 31, 2017 at 3:33 AM, Savolainen, Petri (Nokia - FI/Espoo) wrote: > >> diff --git a/include/odp/api/spec/init.h b/include/odp/api/spec/init.h > > I think it's better to have a new file for this (feature.h). It may be needed > also in other parts (of implementation) than init. Sounds r

Re: [lng-odp] [RFC API-NEXT PATCH] api: init: add unused feature hints to init struct

2017-05-31 Thread Savolainen, Petri (Nokia - FI/Espoo)
> diff --git a/include/odp/api/spec/init.h b/include/odp/api/spec/init.h I think it's better to have a new file for this (feature.h). It may be needed also in other parts (of implementation) than init. > index 154cdf8f..ab2ec577 100644 > --- a/include/odp/api/spec/init.h > +++ b/include/odp/a

[lng-odp] [RFC API-NEXT PATCH] api: init: add unused feature hints to init struct

2017-05-30 Thread Bill Fischofer
RFC based on discussions we had today regarding feature hints. Add an optimization hint, allow applications to indicate which ODP feature(s) they will not use. This may permit implementations to behave more efficiently if it knows that certain features will not be used by the application. Also ad