Re: [gomp4] New reduction infrastructure for OpenACC

2015-09-01 Thread Tom de Vries
On 01/09/15 14:53, Tom de Vries wrote: On 19/08/15 21:42, Cesar Philippidis wrote: +DEFHOOK +(reduction, +"This hook is used by the oacc_transform pass to expand calls to the\n\ +internal functions @var{GOACC_REDUCTION_SETUP},\n\ +@var{GOACC_REDUCTION_INIT},\n\ @var{GOACC_REDUCTION_FINI} and\n\

Re: [gomp4] New reduction infrastructure for OpenACC

2015-09-01 Thread Tom de Vries
On 19/08/15 21:42, Cesar Philippidis wrote: +DEFHOOK +(reduction, +"This hook is used by the oacc_transform pass to expand calls to the\n\ +internal functions @var{GOACC_REDUCTION_SETUP},\n\ +@var{GOACC_REDUCTION_INIT},\n\ @var{GOACC_REDUCTION_FINI} and\n\ @var{GOACC_REDUCTION_TEARDOWN} into a s

Re: [gomp4] New reduction infrastructure for OpenACC

2015-08-20 Thread Nathan Sidwell
Sigh, pdf's get filtered. Let's try some raw tex ... Here's the design document for the reduction implementation nathan \documentclass[a4paper]{article} \newcommand{\brk}{\linebreak[0]} \newcommand{\codespc}{\pagebreak[2]\\[1ex plus2pt minus1pt]} \newcommand{\codebrk}{\pagebreak[2]\\} \newcomm

[gomp4] New reduction infrastructure for OpenACC

2015-08-19 Thread Cesar Philippidis
This patch introduces a infrastructure for reductions in OpenACC. This infrastructure consists of four internal functions, GOACC_REDUCTION_SETUP, GOACC_REDUCTION_INIT, GOACC_REDUCTION_FINI, and GOACC_REDUCTION_TEARDOWN, along with a new target hook goacc.reduction. Each internal function shares a c