提交 17b1c369 编写于 作者: D dzhwinter

"fix ci"

上级 f18f3826
...@@ -116,6 +116,8 @@ inline T *Vector<T>::mutable_data(platform::Place place) { ...@@ -116,6 +116,8 @@ inline T *Vector<T>::mutable_data(platform::Place place) {
this->size() * sizeof(T), ctx->stream()); this->size() * sizeof(T), ctx->stream());
ctx->Wait(); ctx->Wait();
return static_cast<T *>(cuda_ptr_.get()); return static_cast<T *>(cuda_ptr_.get());
#else
return nullptr;
#endif #endif
} else { } else {
PADDLE_THROW("Unsupport Place."); PADDLE_THROW("Unsupport Place.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册