changed data type used for complex

Change-Id: I0a3bb281af3d5ac1290207821c7c45aea40f513f


[ROCm/hip commit: e2318cda74]
This commit is contained in:
Aditya Atluri
2017-01-11 18:23:37 -06:00
orang tua 82e5cfa564
melakukan ea8ad52289
@@ -23,10 +23,8 @@ THE SOFTWARE.
#ifndef HIPCOMPLEX_H
#define HIPCOMPLEX_H
typedef struct{
float x;
float y;
}hipFloatComplex;
typedef float2 hipFloatComplex;
typedef double2 hipDoubleComplex;
__device__ static inline float hipCrealf(hipFloatComplex z){
return z.x;
@@ -79,10 +77,6 @@ __device__ static inline float hipCabsf(hipFloatComplex z){
}
typedef struct{
double x;
double y;
}hipDoubleComplex;
__device__ static inline double hipCreal(hipDoubleComplex z){
return z.x;