Include cmath instead of math.h in hip_complex.h

このコミットが含まれているのは:
Yaxun (Sam) Liu
2018-05-31 13:58:44 -04:00
コミット 325cf3ccf0
+1 -1
ファイルの表示
@@ -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) \