提交 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) {
case TargetType::kHost:
#ifdef LITE_WITH_X86
case TargetType::kX86:
#endif
data = TargetWrapper<TARGET(kHost)>::Malloc(size);
break;
#endif
#ifdef LITE_WITH_CUDA
case TargetType::kCUDA:
data =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册