This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP] Add support for explicit mapping of classes using 'this' pointer
ClosedPublic

Authored by patricklyster on Dec 20 2018, 7:19 PM.

Details

Summary

Add support for explicit mapping of this pointer in OpenMP 5.0. Example use case:

class S {
  int a;
  void foo() {
    #pragma omp target map (this[0])
      a = 1;
  }
};

Diff Detail