Skip to content

Commit

Permalink
fix gpups-pscore build bug;test=develop (PaddlePaddle#42485)
Browse files Browse the repository at this point in the history
  • Loading branch information
danleifeng authored May 5, 2022
1 parent 6ec89ee commit 35fadcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/framework/fleet/ps_gpu_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 35fadcd

Please sign in to comment.