From 2373aeb5e845823ef30b0bfd303e93aa00798295 Mon Sep 17 00:00:00 2001 From: sneaxiy Date: Mon, 17 Dec 2018 21:41:08 +0800 Subject: [PATCH] fix bug test=develop --- paddle/fluid/platform/stream_callback_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/platform/stream_callback_manager.cc b/paddle/fluid/platform/stream_callback_manager.cc index 466c77469ef..5a9e24374f6 100644 --- a/paddle/fluid/platform/stream_callback_manager.cc +++ b/paddle/fluid/platform/stream_callback_manager.cc @@ -19,7 +19,7 @@ namespace paddle { namespace platform { #if CUDA_VERSION >= 10000 -static void CUDART_CB StreamCallbackFunc(void *user_data); +static void CUDART_CB StreamCallbackFunc(void *user_data) #else static void CUDART_CB StreamCallbackFunc(cudaStream_t stream, cudaError_t status, void *user_data) -- GitLab