[Openmp-commits] [openmp] [openmp][flang] Add tests for map clause (PR #70394)

via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 27 07:13:58 PDT 2023


agozillon wrote:

> The correct spelling would be `!$omp target map(tofrom:/var_common/)`, see OpenMP 5.2 specification page 61, line 6.

Thank you @mjklemm ! Weirdly the` /var_common/` is not accepted but the compiler is happy with `var_common` currently, although it doesn't appear to do anything reasonable with it. So it looks like the map clause needs to be taught how to understand the correct spelling. 

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


More information about the Openmp-commits mailing list