[Openmp-commits] [PATCH] D55578: Add omp_get_device_num() and update several other device API functions (FIXED)

Terry Wilmarth via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 12 10:38:02 PST 2018


tlwilmar added a comment.

In D55578#1328082 <https://reviews.llvm.org/D55578#1328082>, @jcownie wrote:

> Since you're using it twice already, is it worth abstracting the "find the appropriate function using dlsym" logic into a function? 
>  I imagine that there will be other user-interface functions which will also need this, so abstracting it sooner rather than later seems a good thing to do.


We are doing implementations of the omp_target_* functions in the host runtime.  We can abstract it to a function or macro then.


Repository:
  rOMP OpenMP

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

https://reviews.llvm.org/D55578





More information about the Openmp-commits mailing list