1
1
1
运行时
标题
2023-08-22 09:42:53
88

在编译程序时,出现了以下报错,是什么原因啊
/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;}

全部评论(2)
只看楼主
网
网友QNU9PB
2楼
你看看你的这个头文件,hip_complex.h,里面是不是定义了union结构hipFloatComplex,还有成员x
2023/9/9
T
tianlh
1楼
报错信息较少,方便上传代码我们来复现问题吗?
2023/9/5
没有更多内容了
--
楼主
Level.6
0 帖子
楼主热帖
暂无数据