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: Un-parallelized OpenACC kernels constructs with nvptx offloading: "avoid offloading"


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


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