Skip to content

Commit a2fc276

Browse files
committed
[libc] Remove complicated header guards on HSA include
Summary: This is much more standard now, we already require new HSA with what we use, so no point checking for this.
1 parent 1b4cdc4 commit a2fc276

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,8 @@
1515

1616
#include "Loader.h"
1717

18-
#if defined(__has_include)
19-
#if __has_include("hsa/hsa.h")
2018
#include "hsa/hsa.h"
2119
#include "hsa/hsa_ext_amd.h"
22-
#elif __has_include("hsa.h")
23-
#include "hsa.h"
24-
#include "hsa_ext_amd.h"
25-
#endif
26-
#else
27-
#include "hsa/hsa.h"
28-
#include "hsa/hsa_ext_amd.h"
29-
#endif
3020

3121
#include "llvm/Frontend/Offloading/Utility.h"
3222

0 commit comments

Comments
 (0)