Re: [gomp4] Remove redundant get_caps hook invocations

2014-10-28 Thread Thomas Schwinge
Hi Julian! On Tue, 28 Oct 2014 16:40:31 +, Julian Brown 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

[gomp4] Remove redundant get_caps hook invocations

2014-10-28 Thread Julian Brown
Hi, 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? Thanks, Julian ChangeLog libgomp/ * target.c (gomp_load_plugin_for_device): Only call get_caps once. (gomp_