diff options
author | Pushpinder Singh <Pushpinder.Singh@amd.com> | 2021-04-19 07:12:48 +0000 |
---|---|---|
committer | Pushpinder Singh <Pushpinder.Singh@amd.com> | 2021-04-21 05:05:49 +0000 |
commit | 3194761d2763a471dc6426a3e77c1445cb9ded3b (patch) | |
tree | ed52a127798ad3e1b458689784286776583c95d1 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 653345155a060df8ee256d9610ca0d0cc2515450 (diff) | |
download | llvm-3194761d2763a471dc6426a3e77c1445cb9ded3b.zip llvm-3194761d2763a471dc6426a3e77c1445cb9ded3b.tar.gz llvm-3194761d2763a471dc6426a3e77c1445cb9ded3b.tar.bz2 |
[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed
This patch adds new clang tool named amdgpu-arch which uses
HSA to detect installed AMDGPU and report back latter's march.
This tool is built only if system has HSA installed.
The value printed by amdgpu-arch is used to fill -march when
latter is not explicitly provided in -Xopenmp-target.
Reviewed By: JonChesterfield, gregrodgers
Differential Revision: https://reviews.llvm.org/D99949
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions