at GPU Tech Conf I learnt that PGI has C++ support for OpenACC. A lot of our code uses std::vector. According to the standard std::vector guarantees contiguous memory and in principal it can be used like a C array by means of &v.
Can std::vectors be used in acc parallel loop sections and if so how do you address them in acc data clauses as v in the typical e.g. copy(v) would be of type std::vector and not double*.
Or would I have to workaround it locally with double* p = &v if I were not willing to change all std::vectors to C arrays in my code?