Include cmath instead of math.h in hip_complex.h

[ROCm/hip commit: 325cf3ccf0]
This commit is contained in:
Yaxun (Sam) Liu
2018-05-31 13:58:44 -04:00
parent 0b10ab2b7e
commit cf6cdab029
@@ -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) \