On 10/22/15 10:47, Cesar Philippidis wrote:

Interesting question. The spec is unclear. It defines gang, worker and
vector as follows in section 2.7 in the OpenACC 2.0a spec:

   gang [( gang-arg-list )]
   worker [( [num:] int-expr )]
   vector [( [length:] int-expr )]

where gang-arg is one of:

   [num:] int-expr
   static: size-expr


the spec is intentionally unspecific about whether the exprs are integer-constant-expressions or integer-expressions. Leaving it as an implementation choice.

nathan

Reply via email to