Reputation: 318
I'm studying the OpenaAcc Programming guide at openacc.org. A lot of nested compute regions are widely used in this book. But my compiler (version 17.4-0 64-bit target on x86-64 Linux -tp sandybridge year 2017) writes that my version of the compiler does not support nested compute constructs. Does this version of the compiler really not support nested compute constructs? If it is so, which compiler to use if i need nested compute constructs support? Do latest versions of gcc support this option?
Upvotes: 0
Views: 142
Reputation: 5646
Correct, PGI does not yet support nested parallelism (i.e. compute regions within other compute regions). I don't think GNU supports it as well.
Can you point the specific section of the OpenACC programming guide you are referring? I don't remember any nested parallelism examples and am wondering if you are meaning the addition of "loop" directives within a compute region which is supported by both compilers.
Upvotes: 1