提交 f6ba9268 编写于 作者: J jiweibo

update init val. test=develop

上级 4ce86e67
...@@ -256,8 +256,8 @@ class CxxPaddleApiImpl : public lite_api::PaddlePredictor { ...@@ -256,8 +256,8 @@ class CxxPaddleApiImpl : public lite_api::PaddlePredictor {
bool status_is_cloned_; bool status_is_cloned_;
#ifdef LITE_WITH_CUDA #ifdef LITE_WITH_CUDA
bool multi_stream_{false}; bool multi_stream_{false};
cudaStream_t* io_stream_; cudaStream_t* io_stream_{nullptr};
cudaStream_t* exec_stream_; cudaStream_t* exec_stream_{nullptr};
cudaEvent_t input_event_; cudaEvent_t input_event_;
std::vector<cudaEvent_t> output_events_; std::vector<cudaEvent_t> output_events_;
// only for multi exec stream mode. // only for multi exec stream mode.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册