Hi Thomas!

On 19.03.2014 23:35, Thomas Schwinge wrote:
Do you intend to support loop constructs that are not nested in a
parallel or kernels construct?  As I'm reading it, the specification is
not clear on this.  (I guess I'll raise this question with the OpenACC
guys.)
Yes, I do. There are three reasons to support OpenACC loop directive without enclosing construct:
1) The spec doesn't require the directive to be inside of a construct.
2) PGI compiler does support this.
3) GCC OpenMP implementation supports loop construct without parallel.

However, I agree that there no sense to use OpenACC loop without a construct. So, should there be a warning, perhaps?

--
Ilmir.

Reply via email to