[libc][amdgpu] Tolerate different install directories for hsa.h
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Thu, 20 Jul 2023 12:43:17 +0000 (13:43 +0100)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Thu, 20 Jul 2023 12:43:17 +0000 (13:43 +0100)
commitd483824fc8edc3463970beeb7b6c9cb3991bd510
tree597e5e5e2376734e4dbd81396013478a16380881
parent8b5d3ba829c162fd4890fd65a4629ce0715825ee
[libc][amdgpu] Tolerate different install directories for hsa.h

HSA headers might be under a hsa/ directory or might not.
This scheme matches the one used by the openmp amdgpu plugin.

Reviewed By: jhuber6, jplehr

Differential Revision: https://reviews.llvm.org/D155812
libc/utils/gpu/loader/amdgpu/Loader.cpp