[all-commits] [llvm/llvm-project] c711aa: [amdgpu-arch] Guard hsa.h with __has_include

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Mon May 10 00:34:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c711aa0f6f9d9400fbe619c7f0d6d4aa723b3a64
      https://github.com/llvm/llvm-project/commit/c711aa0f6f9d9400fbe619c7f0d6d4aa723b3a64
  Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M clang/tools/amdgpu-arch/AMDGPUArch.cpp

  Log Message:
  -----------
  [amdgpu-arch] Guard hsa.h with __has_include

This patch is suppose to fix the issue of hsa.h not found.
Issue was reported in D99949

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D102067




More information about the All-commits mailing list