From 4e0b25e3e9c6105a107cc9bb74079b4b743d2ec7 Mon Sep 17 00:00:00 2001 From: superjomn Date: Mon, 13 May 2019 21:19:28 +0800 Subject: [PATCH] make cxx_api_lite work on ARM test=develop --- paddle/fluid/lite/core/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/lite/core/memory.h b/paddle/fluid/lite/core/memory.h index 0b364f0b3a5..5b332f7e3ac 100644 --- a/paddle/fluid/lite/core/memory.h +++ b/paddle/fluid/lite/core/memory.h @@ -24,9 +24,9 @@ static void* TargetMalloc(TargetType target, size_t size) { case TargetType::kHost: #ifdef LITE_WITH_X86 case TargetType::kX86: +#endif data = TargetWrapper::Malloc(size); break; -#endif #ifdef LITE_WITH_CUDA case TargetType::kCUDA: data = -- GitLab