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

Terry Wilmarth via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Nov 9 12:12:24 PST 2018


tlwilmar created this revision.
tlwilmar added reviewers: AndreyChurbanov, hbae, RaviNarayanaswamy.
tlwilmar added a project: OpenMP.

Add omp_get_device_num() function for 5.0 which returns the number of the device the current thread is running on.  Also, did some cleanup and updating of device API functions to make them into weak functions that should be replaced with libomptarget functions when libomptarget is present.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D54342

Files:
  runtime/src/dllexports
  runtime/src/include/45/omp.h.var
  runtime/src/include/45/omp_lib.f.var
  runtime/src/include/45/omp_lib.h.var
  runtime/src/include/50/omp.h.var
  runtime/src/include/50/omp_lib.f.var
  runtime/src/include/50/omp_lib.f90.var
  runtime/src/include/50/omp_lib.h.var
  runtime/src/kmp.h
  runtime/src/kmp_ftn_entry.h
  runtime/src/kmp_ftn_os.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54342.173409.patch
Type: text/x-patch
Size: 20124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181109/6ae8d370/attachment-0001.bin>


More information about the Openmp-commits mailing list