[Openmp-commits] [PATCH] D96182: [OpenMP] Enable omp_get_num_devices() on Windows

Hansang Bae via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Feb 5 14:26:03 PST 2021


hbae created this revision.
hbae added reviewers: AndreyChurbanov, tlwilmar, jlpeyton, Nawrin, grokos.
hbae added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
hbae requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

This patch enables omp_get_num_devices() on Windows by providing an
alternative to dlsym on Windows, and proposes to add a new
libomptarget entry, __tgt_get_num_devices().


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96182

Files:
  openmp/runtime/src/kmp_ftn_entry.h
  openmp/runtime/src/kmp_os.h
  openmp/runtime/src/z_Windows_NT_util.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96182.321879.patch
Type: text/x-patch
Size: 4278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210205/f12d8d7e/attachment.bin>


More information about the Openmp-commits mailing list