From 2aec65bee28e818511fc2426b8721dc6ed4f19cc Mon Sep 17 00:00:00 2001 From: zmxdream Date: Wed, 28 Sep 2022 14:34:20 +0800 Subject: [PATCH] [GPUPS]fix ChannelReader (#46575) --- paddle/fluid/framework/channel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/channel.h b/paddle/fluid/framework/channel.h index 47dc8abf402..fe6c51b8722 100644 --- a/paddle/fluid/framework/channel.h +++ b/paddle/fluid/framework/channel.h @@ -353,7 +353,7 @@ class ChannelReader { } if (cursor_ >= buffer_.size()) { cursor_ = 0; - if (channel_->read(buffer_) == 0) { + if (channel_->Read(buffer_) == 0) { failed_ = true; return *this; } -- GitLab