Skip to content

Commit

Permalink
[heterps]fix ut for heter_pipeline_trainer.cc (PaddlePaddle#37136)
Browse files Browse the repository at this point in the history
* fix ut. test=develop

* fix ut. test=develop
  • Loading branch information
zmxdream authored Nov 12, 2021
1 parent 36154ba commit 0a92c85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paddle/fluid/framework/heter_pipeline_trainer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0a92c85

Please sign in to comment.