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