提交 898d1846 编写于 作者: myq406450149's avatar myq406450149

fix format. test=develop

上级 edfec1d3
...@@ -49,7 +49,7 @@ struct ArrayToLoDFunctor : public boost::static_visitor<void> { ...@@ -49,7 +49,7 @@ struct ArrayToLoDFunctor : public boost::static_visitor<void> {
Apply(static_cast<platform::CUDADeviceContext *>(pool.Get(place))); Apply(static_cast<platform::CUDADeviceContext *>(pool.Get(place)));
#else #else
PADDLE_THROW( PADDLE_THROW(
platform::errors::Unavailable("Paddle is not compiled with CUDA")); platform::errors::Unavailable("Paddle is not compiled with CUDA."));
#endif #endif
} }
} }
......
...@@ -62,7 +62,7 @@ struct LoDTensorToArrayFunctor : public boost::static_visitor<void> { ...@@ -62,7 +62,7 @@ struct LoDTensorToArrayFunctor : public boost::static_visitor<void> {
Apply(static_cast<platform::CUDADeviceContext *>(dev_ctx)); Apply(static_cast<platform::CUDADeviceContext *>(dev_ctx));
#else #else
PADDLE_THROW( PADDLE_THROW(
platform::errors::Unavailable("Place is not compiled with CUDA")); platform::errors::Unavailable("Paddle is not compiled with CUDA."));
#endif #endif
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册