On 02/11/2016 11:01 AM, Thomas Schwinge wrote:
The "avoid offloading" mechanism. Owed to the non-shared-memory offloading architecture, if the compiler/runtime decides to "avoid offloading", then this has to apply to *all* code offloading, for data consistency reasons. Do we agree on that?
Not necessarily, I think. It should be possible to determine whether some offloaded code blocks are independent from each other. (That doesn't mean we currently have any good way of making such decisions. libgomp or even the ptx compiler are probably too late and don't have the necessary information anymore).
Bernd