From bfa61eac2c2db89eb60627afcc539a205a493efa Mon Sep 17 00:00:00 2001 From: "Sun, Peng" Date: Mon, 10 Apr 2017 08:53:12 -0500 Subject: [PATCH] add math.h to cover sqrtf function Change-Id: Ia37752710cea4ca77e0a4e61f8e69a0355d9488d --- hipamd/include/hip/hcc_detail/hip_complex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hipamd/include/hip/hcc_detail/hip_complex.h b/hipamd/include/hip/hcc_detail/hip_complex.h index 26d73a21a8..c76d65b058 100644 --- a/hipamd/include/hip/hcc_detail/hip_complex.h +++ b/hipamd/include/hip/hcc_detail/hip_complex.h @@ -24,6 +24,7 @@ THE SOFTWARE. #define HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H #include "hip/hcc_detail/hip_vector_types.h" +#include #if __cplusplus #define COMPLEX_ADD_OP_OVERLOAD(type) \