From 68c2146dc3a498051e8111217094da407612bd9a 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. --- include/hip/hcc_detail/math_functions.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/hip/hcc_detail/math_functions.h b/include/hip/hcc_detail/math_functions.h index 79bacf274b..efc15ea70c 100644 --- a/include/hip/hcc_detail/math_functions.h +++ b/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