From e5bb8f73d0746ff41e460b04aee9e2f1f6c669f5 Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Mon, 2 Oct 2017 21:52:16 +0000 Subject: [PATCH] Fix math ordering for --genco mode. [ROCm/clr commit: 2e9b78c274fb61d1b78a20f349645cd9d74cc77b] --- projects/clr/hipamd/include/hip/hcc_detail/math_functions.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/clr/hipamd/include/hip/hcc_detail/math_functions.h b/projects/clr/hipamd/include/hip/hcc_detail/math_functions.h index 79bacf274b..efc15ea70c 100644 --- a/projects/clr/hipamd/include/hip/hcc_detail/math_functions.h +++ b/projects/clr/hipamd/include/hip/hcc_detail/math_functions.h @@ -23,6 +23,11 @@ THE SOFTWARE. #ifndef HIP_INCLUDE_HIP_HCC_DETAIL_MATH_FUNCTIONS_H #define HIP_INCLUDE_HIP_HCC_DETAIL_MATH_FUNCTIONS_H +#if defined(__HCC__) + #include +#endif + + #include #include #include