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: [gomp4] Remove redundant get_caps hook invocations


Hi Julian!

On Tue, 28 Oct 2014 16:40:31 +0000, Julian Brown <julian@codesourcery.com> wrote:
> This patch causes the get_caps hook to be called only once during
> device initialisation, and caches the result in the device's
> "capabilities" field.
> 
> OK for gomp4 branch?

Yes, thanks!  I think such patches you can also apply without pre-commit
review, on a "obvious" basis.

>     libgomp/
>     * target.c (gomp_load_plugin_for_device): Only call get_caps once.
>     (gomp_find_available_plugins): ...and don't call it again here.


GrÃÃe,
 Thomas

Attachment: pgpWkulzK6B2u.pgp
Description: PGP signature


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