Include cmath instead of math.h in hip_complex.h

Αυτή η υποβολή περιλαμβάνεται σε:
Yaxun (Sam) Liu
2018-05-31 13:58:44 -04:00
γονέας 5eeb57b0a6
υποβολή 325cf3ccf0
@@ -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) \