From 36dbfe86a7dc37d5c04dd1be3ef8adf34414ded1 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Thu, 23 Feb 2017 14:46:54 +0800 Subject: [PATCH] Change ctcStatus_t to hl_warpctc_status_t to keep consistency --- paddle/cuda/src/hl_warpctc_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/cuda/src/hl_warpctc_wrap.cc b/paddle/cuda/src/hl_warpctc_wrap.cc index 246e7ad8af7..f57efb2b467 100644 --- a/paddle/cuda/src/hl_warpctc_wrap.cc +++ b/paddle/cuda/src/hl_warpctc_wrap.cc @@ -59,7 +59,7 @@ static int g_warpctcVersion = -1; #define WARPCTC_COMPUTE_LOSS dynload::compute_ctc_loss #define WARPCTC_GET_WORKSPACE_SIZE dynload::get_workspace_size #else -ctcStatus_t fatal(...) { +hl_warpctc_status_t fatal(...) { LOG(FATAL) << "warp-ctc [version " << g_warpctcVersion << "] Error: not support double precision."; // both of get_warpctc_version() and get_workspace_size() return an ctcStatus -- GitLab