Commit 113d1ca
committed
[clang][openmp] - Ensure HIP_PLATFORM is set for hip_host_overlay
Fix __has_include check to look in hip directory.
If an OpenMP program is using the HIP API (like hipMalloc),
then ensure HIP_PLATFORM_* is set. This also avoids problems
with OpenMP programs that do not use the HIP API as the header
will not be used.
Change-Id: Iac43fbef395f8ab91b9ae9744daed000d994d1061 parent 39ffbda commit 113d1ca
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments