1
运行时
标题
2023-12-14 00:35:59
46

尝试训练一个模型时,平台HIP编译.cu文件的cuda代码时报错 Warning: kernel launch (512) threads out of range (256), add launch_bounds to kernel define or use --gpu-max-threads-per-block recompile program !

求解决思路,尝试在.cu文件的kernel函数中增加__launch_bounds__参数未解决问题,.cu中主体函数如下

全部评论(0)
只看楼主
暂无数据
--
楼主
Level.1
0 帖子
楼主热帖
暂无数据