diff options
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2023-06-25 00:25:15 -0400 |
---|---|---|
committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2023-07-08 00:01:02 -0400 |
commit | 661d91a0fd4ad80ecc49ebb9e0fff01b4de2ce1c (patch) | |
tree | 6412cee22e3101abb74a409b96ce07b5e259ca40 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 1e02158666e0be2b1b5facf07842f9c15bf347b1 (diff) | |
download | llvm-661d91a0fd4ad80ecc49ebb9e0fff01b4de2ce1c.zip llvm-661d91a0fd4ad80ecc49ebb9e0fff01b4de2ce1c.tar.gz llvm-661d91a0fd4ad80ecc49ebb9e0fff01b4de2ce1c.tar.bz2 |
[clang] Make amdgpu-arch tool work on Windows
Currently amdgpu-arch tool detects AMD GPU by dynamically
loading HSA runtime shared library and using HSA API's,
which is not available on Windows.
This patch makes it work on Windows by dynamically loading
HIP runtime dll and using HIP API's.
Reviewed by: Matt Arsenault, Joseph Huber, Johannes Doerfert
Differential Revision: https://reviews.llvm.org/D153725
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions