Include cmath instead of math.h in hip_complex.h

Bu işleme şunda yer alıyor:
Yaxun (Sam) Liu
2018-05-31 13:58:44 -04:00
ebeveyn 5eeb57b0a6
işleme 325cf3ccf0
+1 -1
Dosyayı Görüntüle
@@ -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) \