[Openmp-commits] [PATCH] D68100: [OpenMP 5.0] declare mapper runtime implementation

Lingda Li via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun Jul 26 11:31:00 PDT 2020


lildmh added a comment.

Your understanding above is exactly right. It should be equivalent to

  #pragma omp target data map(tofrom: c)
  #pragma omp target data map(tofrom: c.a[0:NUM])
  #pragma omp target teams distribute parallel for
  for (int i = 0; i < NUM; i++) {
    ++c.a[i];
  }


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68100/new/

https://reviews.llvm.org/D68100





More information about the Openmp-commits mailing list