提交 4e0b25e3 编写于 作者: S superjomn

make cxx_api_lite work on ARM

test=develop
上级 65d2179a
...@@ -24,9 +24,9 @@ static void* TargetMalloc(TargetType target, size_t size) { ...@@ -24,9 +24,9 @@ static void* TargetMalloc(TargetType target, size_t size) {
case TargetType::kHost: case TargetType::kHost:
#ifdef LITE_WITH_X86 #ifdef LITE_WITH_X86
case TargetType::kX86: case TargetType::kX86:
#endif
data = TargetWrapper<TARGET(kHost)>::Malloc(size); data = TargetWrapper<TARGET(kHost)>::Malloc(size);
break; break;
#endif
#ifdef LITE_WITH_CUDA #ifdef LITE_WITH_CUDA
case TargetType::kCUDA: case TargetType::kCUDA:
data = data =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册