[all-commits] [llvm/llvm-project] 7029cf: [AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD ...
pdhaliwal-amd via All-commits
all-commits at lists.llvm.org
Thu Apr 15 22:26:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7029cffc4e78556cfe820791c612968bb15b2ffb
https://github.com/llvm/llvm-project/commit/7029cffc4e78556cfe820791c612968bb15b2ffb
Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
Date: 2021-04-16 (Fri, 16 Apr 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPU.h
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
A clang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_different
A clang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_fail
A clang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx906
A clang/test/Driver/Inputs/amdgpu-arch/amdgpu_arch_gfx908_gfx908
A clang/test/Driver/amdgpu-openmp-system-arch-fail.c
A clang/test/Driver/amdgpu-openmp-system-arch.c
M clang/tools/CMakeLists.txt
A clang/tools/amdgpu-arch/AMDGPUArch.cpp
A clang/tools/amdgpu-arch/CMakeLists.txt
Log Message:
-----------
[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
More information about the All-commits
mailing list