Include cmath instead of math.h in hip_complex.h

This commit is contained in:
Yaxun (Sam) Liu
2018-05-31 13:58:44 -04:00
والد 8ddadf835d
کامیت cc44a3d234
@@ -24,7 +24,7 @@ THE SOFTWARE.
#define HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H
#include "hip/hcc_detail/hip_vector_types.h"
#include <math.h>
#include <cmath>
#if __cplusplus
#define COMPLEX_ADD_OP_OVERLOAD(type) \