你看看你的这个头文件,hip_complex.h,里面是不是定义了union结构hipFloatComplex,还有成员x
在编译程序时,出现了以下报错,是什么原因啊
/opt/dtk/include/hip/hsa_detail/hip_complex.h: error union "<unnamed>" has no field "x"
HOST_DEVICE static inline float hipCrealf(hipFloatComplex z){return z.x;}

暂无数据