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: [PATCH,WIP] Use functional parameters for data mappings in OpenACC child functions


On Thu, Dec 21, 2017 at 01:46:56PM -0800, Cesar Philippidis wrote:
> After thinking about this some more, I decided that it would be better
> expand the offloaded function arguments into individual parameters
> during omp lowering, rather than writing a separate pass later on. I
> don't see too many disadvantages of using libffi after a pthread is
> spawned by the host. If anything, the pthread's use of libffi is
> equivalent of preforming SRA by the accelerator anyway.

I'll have a look at your previous patch, just want to say that using libffi
for this or changing anything for non-nvptx targets seems to be very bad
idea to me.

	Jakub


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