[Openmp-commits] [PATCH] D60972: [OpenMP 5.0] libomptarget interface for declare mapper functions
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jul 31 00:06:31 PDT 2019
Hahnfeld added a comment.
In D60972#1607134 <https://reviews.llvm.org/D60972#1607134>, @lildmh wrote:
> In D60972#1607108 <https://reviews.llvm.org/D60972#1607108>, @Hahnfeld wrote:
> > You need to declare them yourself in the test. That's not really elegant, but many other runtime tests already do.
> Thanks for the tip! I can do that. Since I'm pretty new to the runtime, could you suggest a similar test that I should look into?
`test/offloading/requires.c` does so: https://github.com/llvm/llvm-project/blob/master/openmp/libomptarget/test/offloading/requires.c#L20
I think that's the only one for libomptarget right now, but the host runtime has more complex ones, for example https://github.com/llvm/llvm-project/blob/master/openmp/runtime/test/tasking/kmp_taskloop.c
CHANGES SINCE LAST ACTION
More information about the Openmp-commits