commit | 70148d444fd2f4d44bae2104db8cc77ee72efe20 | [log] [tgz] |
---|---|---|
author | Hansang Bae <hansang.bae@intel.com> | Fri Feb 05 08:53:40 2021 -0600 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 04:01:47 2021 -0800 |
tree | 5571544266526119602f25dbf3a28f9147f6393e | |
parent | 729a2d5e32322b44de9948b3ed6a30b011a5d3b1 [diff] |
[OpenMP] Enable omp_get_num_devices() on Windows This patch enables omp_get_num_devices() and omp_get_initial_device() on Windows by providing an alternative to dlsym on Windows, and proposes to add a new libomptarget entry, __tgt_get_num_devices(). Differential Revision: https://reviews.llvm.org/D96182 GitOrigin-RevId: ffb21e7f0593fde83568ae364040296fe94cf347