This is the mail archive of the gcc@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: Altering OpenMP emitted code


On Sat, Feb 11, 2012 at 05:20:24PM -0500, Amittai Aviram wrote:
> Hi!  I'm reaching the point of exhaustion in trying to understand GCC
> code, so I need help.  I want to change the code that GCC emits when the
> source code has an OpenMP reduction clause.

Sounds like you want user defined reductions, which are I think planned for
OpenMP 4.0.  Before that happens IMHO you just want to opencode it in the
source, using a private variable, shared one and explicit merging.

	Jakub


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