[flang-commits] [flang] [flang][openacc] Representing Fortran descriptor management with OpenACC. (PR #72725)

via flang-commits flang-commits at lists.llvm.org
Mon Nov 20 08:08:43 PST 2023


agozillon wrote:

Thank you very much for this! 

I quite like this proposal and I believe we'd like to go down this direction in the future, however, I think for the moment we'd like to continue down the current direction of the existing PR for adding some initial support if it's feasible and see the mileage we can get out of it in the meantime (if any, after the changes requested in the PR), so we can at least have some support for descriptor related types currently. We'd then transition to this proposal at a later date and I'd be happy to do the transition myself when the infrastructure is there.

I'm currently trying to find out a bit more about the details on how similar the implicit descriptor mapping in OpenMP would be to those described for OpenACC in this proposal, I've emailed someone far more knowledgeable than myself on it, they're a little busy at the moment however, so it might take a while to get OpenMP's behavior on this clarified further. However, even if the way descriptors are handled in OpenMP is less complex (I'm doubtful, I believe it will be very similar to OpenACC), I think we'd still be happy to adopt this approach as it gives a lot more flexibility and future proofing against OpenMP and Fortran specification (and implementation) changes to descriptor and their mapping requirements.

https://github.com/llvm/llvm-project/pull/72725


More information about the flang-commits mailing list