From 898d1846f4d8f9491c61f8649114c73d459b1d04 Mon Sep 17 00:00:00 2001 From: yongqiangma Date: Sun, 27 Sep 2020 03:51:17 +0000 Subject: [PATCH] fix format. test=develop --- paddle/fluid/operators/array_to_lod_tensor_op.cc | 2 +- paddle/fluid/operators/lod_tensor_to_array_op.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/array_to_lod_tensor_op.cc b/paddle/fluid/operators/array_to_lod_tensor_op.cc index 1780d025d9c..ef55b38b876 100644 --- a/paddle/fluid/operators/array_to_lod_tensor_op.cc +++ b/paddle/fluid/operators/array_to_lod_tensor_op.cc @@ -49,7 +49,7 @@ struct ArrayToLoDFunctor : public boost::static_visitor { Apply(static_cast(pool.Get(place))); #else PADDLE_THROW( - platform::errors::Unavailable("Paddle is not compiled with CUDA")); + platform::errors::Unavailable("Paddle is not compiled with CUDA.")); #endif } } diff --git a/paddle/fluid/operators/lod_tensor_to_array_op.cc b/paddle/fluid/operators/lod_tensor_to_array_op.cc index 22e8e00dcce..8e07ffabb54 100644 --- a/paddle/fluid/operators/lod_tensor_to_array_op.cc +++ b/paddle/fluid/operators/lod_tensor_to_array_op.cc @@ -62,7 +62,7 @@ struct LoDTensorToArrayFunctor : public boost::static_visitor { Apply(static_cast(dev_ctx)); #else PADDLE_THROW( - platform::errors::Unavailable("Place is not compiled with CUDA")); + platform::errors::Unavailable("Paddle is not compiled with CUDA.")); #endif } } -- GitLab