From 17b1c369b1f2dadff102ec283b847ea064593dec Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Mon, 5 Feb 2018 23:08:12 -0800 Subject: [PATCH] "fix ci" --- paddle/framework/mixed_vector.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/framework/mixed_vector.h b/paddle/framework/mixed_vector.h index aade7d839..1fc7622e9 100644 --- a/paddle/framework/mixed_vector.h +++ b/paddle/framework/mixed_vector.h @@ -116,6 +116,8 @@ inline T *Vector::mutable_data(platform::Place place) { this->size() * sizeof(T), ctx->stream()); ctx->Wait(); return static_cast(cuda_ptr_.get()); +#else + return nullptr; #endif } else { PADDLE_THROW("Unsupport Place."); -- GitLab