[amdgpu-arch] Guard hsa.h with __has_includeThis patch is suppose to fix the issue of hsa.h not found.Issue was reported in D99949Reviewed By: JonChesterfieldDifferential Revision: https://rev
[amdgpu-arch] Guard hsa.h with __has_includeThis patch is suppose to fix the issue of hsa.h not found.Issue was reported in D99949Reviewed By: JonChesterfieldDifferential Revision: https://reviews.llvm.org/D102067
show more ...
[amdgpu-arch] Fix rpath to run from build dir[amdgpu-arch] Fix rpath to run from build dirPrior to this, amdgpu-arch has RUNPATH set to $ORIGIN/../lib which worksfor some installs, but not from
[amdgpu-arch] Fix rpath to run from build dir[amdgpu-arch] Fix rpath to run from build dirPrior to this, amdgpu-arch has RUNPATH set to $ORIGIN/../lib which worksfor some installs, but not from the build directory where clang executesthe tool from when running tests.This cmake option adds the location of the rocr runtime to the RUNPATH(note, it amends RUNPATH here, despite the cmake option referring to RPATH)to create a binary that runs from build or install location.Before:RUNPATH [$ORIGIN/../lib]After:RUNPATH [$ORIGIN/../lib:$HOME/llvm-install/lib]Credit to Greg for knowing this trick and pointing to examples of it in usefor the aomp build scripts.Reviewed By: pdhaliwalDifferential Revision: https://reviews.llvm.org/D101926
Reapply "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"This reverts commit 93604305bb72201641f31cc50a6e7b2fe65d3af3.
Revert "Reapply "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed""This reverts commit 15be0c41d2e59fb4599c9aebf21ede498c61f51d.
Reapply "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"This reverts commit 24c1ed3b34f7602b955e52cd8a362f4e27eb5f20.
Revert "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"This reverts commit 722d4d8e7585457d407d0639a4ae2610157e06a8.Unclear where hsa.h should be included from, see report in D9
Revert "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"This reverts commit 722d4d8e7585457d407d0639a4ae2610157e06a8.Unclear where hsa.h should be included from, see report in D99949
[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installedThis patch adds new clang tool named amdgpu-arch which usesHSA to detect installed AMDGPU and report back latter's march.This tool
[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installedThis patch adds new clang tool named amdgpu-arch which usesHSA 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 whenlatter is not explicitly provided in -Xopenmp-target.Reviewed By: JonChesterfield, gregrodgersDifferential Revision: https://reviews.llvm.org/D99949
Revert "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"This reverts commit 3194761d2763a471dc6426a3e77c1445cb9ded3b.
Revert "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed"This reverts commit 7029cffc4e78556cfe820791c612968bb15b2ffb.