Re: [gomp] Fix PTX unloading

2015-07-15 Thread Ilya Verbin
On Wed, Jul 15, 2015 at 14:36:45 -0400, Nathan Sidwell wrote: > -= devicep->load_image_func (devicep->target_id, target_data, > &target_table); > += devicep->load_image_func (devicep->target_id, target_data, > + &target_table); It was exactly 80 chars long :)

[gomp] Fix PTX unloading

2015-07-15 Thread Nathan Sidwell
This patch reworks my previous one to just deal with the PTX-specific unloading breakage. I don't change the API between libgomp and the plugins, and fixup the PTX plugin to have per-device instance lists of loaded programs. As with the previous patch, we fix an ordering problem by unloading t