未验证 提交 35fadcdf 编写于 作者: D danleifeng 提交者: GitHub

fix gpups-pscore build bug;test=develop (#42485)

上级 6ec89eeb
......@@ -630,7 +630,7 @@ void PSGPUWrapper::BuildPull(std::shared_ptr<HeterContext> gpu_task) {
#endif
#ifdef PADDLE_WITH_PSCORE
auto& task_ptrs = device_task_ptrs[dev];
auto& task_ptrs = device_task_ptrs[shard_id];
#endif
int len = prefix_sum[dev][shard_id + 1] - prefix_sum[dev][shard_id];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册