未验证 提交 0a92c857 编写于 作者: Z zmx 提交者: GitHub

[heterps]fix ut for heter_pipeline_trainer.cc (#37136)

* fix ut. test=develop

* fix ut. test=develop
上级 36154ba9
......@@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#if defined(PADDLE_WITH_PSCORE)
#if (defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP)) && \
(defined PADDLE_WITH_PSCORE)
#include "gtest/gtest.h"
#include "paddle/fluid/framework/device_worker.h"
#include "paddle/fluid/framework/device_worker_factory.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册