|
Loading...
|
gcc-help@gcc.gnu.org
[Prev] Thread [Next] | [Prev] Date [Next]
Re: omp_clause_num_ops Amittai Aviram Mon Feb 13 23:00:26 2012
On Feb 14, 2012, at 1:32 AM, Ian Lance Taylor wrote:
> If you search for OMP_CLAUSE_REDUCTION in tree.h you will see this
> comment:
>
> /* OpenMP clause: reduction (operator:variable_list).
> OMP_CLAUSE_REDUCTION_CODE: The tree_code of the operator.
> Operand 1: OMP_CLAUSE_REDUCTION_INIT: Stmt-list to initialize the var.
> Operand 2: OMP_CLAUSE_REDUCTION_MERGE: Stmt-list to merge private var
> into the shared one.
> Operand 3: OMP_CLAUSE_REDUCTION_PLACEHOLDER: A dummy VAR_DECL
> placeholder used in OMP_CLAUSE_REDUCTION_{INIT,MERGE}. */
>
> Ian
I should have kept looking. Thanks! Does OMP_CLAUSE_REDUCTION_CODE count as
"Operand 0"?
Amittai Aviram
PhD Student in Computer Science
Yale University
646 483 2639
[EMAIL PROTECTED]
http://www.amittai.com
- omp_clause_num_ops Amittai Aviram 2012/02/13
- Re: omp_clause_num_ops Ian Lance Taylor 2012/02/13
- Re: omp_clause_num_ops Amittai Aviram 2012/02/13 <=
- Re: omp_clause_num_ops Ian Lance Taylor 2012/02/14