On 07/19/15 17:04, Nathan Sidwell wrote:
Hi,
this patch fixes the ptx plugin's management of offloaded functions. Currently
it has a single global list of functions. But it should track this information
per ptx device instance. I've moved the linked list into the per-device data.
We were also not managing the plugin-allocated vector of offloaded functions,
with some totally bogus code in the unload routine. This is currently not used,
because there is no unloading destructor. The patch fixes that.
A followup patch will then be able to enable unloading.
ok for trunk?
I went ahead and committed this on the basis I probably understand the code best
at this point, and it is entirely PTX-specific.
nathan