diff --git a/CMakeLists.txt b/CMakeLists.txt index a80c50067e06d4317d89fcfcca96e14837e4d09d..54f724df79a8451d504befef7d80ba09eeba3e80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,16 +145,16 @@ endif() if (ANDROID_NDK_TOOLCHAIN_INCLUDED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -llog") else() - list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/jni/paddle_mobile_jni.h) - list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/jni/paddle_mobile_jni.cpp) + list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/io/jni/paddle_mobile_jni.h) + list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/io/jni/paddle_mobile_jni.cpp) list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/operators/math/math_func_neon.h) endif () if (IS_IOS) else() - list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/ios_io/PaddleMobileCPU.h) - list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/ios_io/PaddleMobileCPU.mm) - list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/ios_io/op_symbols.h) + list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/io/ios_io/PaddleMobileCPU.h) + list(REMOVE_ITEM PADDLE_MOBILE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/io/ios_io/PaddleMobileCPU.mm) + list(REMOVE_ITEM PADDLE_MOBILE_H ${CMAKE_CURRENT_SOURCE_DIR}/src/io/ios_io/op_symbols.h) endif () set(CMAKE_VERBOSE_MAKEFILE ON) diff --git a/src/ios_io/PaddleMobileCPU.h b/src/io/ios_io/PaddleMobileCPU.h similarity index 100% rename from src/ios_io/PaddleMobileCPU.h rename to src/io/ios_io/PaddleMobileCPU.h diff --git a/src/ios_io/PaddleMobileCPU.mm b/src/io/ios_io/PaddleMobileCPU.mm similarity index 100% rename from src/ios_io/PaddleMobileCPU.mm rename to src/io/ios_io/PaddleMobileCPU.mm diff --git a/src/ios_io/op_symbols.h b/src/io/ios_io/op_symbols.h similarity index 100% rename from src/ios_io/op_symbols.h rename to src/io/ios_io/op_symbols.h diff --git a/src/jni/PML.java b/src/io/jni/PML.java similarity index 100% rename from src/jni/PML.java rename to src/io/jni/PML.java diff --git a/src/jni/paddle_mobile_jni.cpp b/src/io/jni/paddle_mobile_jni.cpp similarity index 100% rename from src/jni/paddle_mobile_jni.cpp rename to src/io/jni/paddle_mobile_jni.cpp diff --git a/src/jni/paddle_mobile_jni.h b/src/io/jni/paddle_mobile_jni.h similarity index 100% rename from src/jni/paddle_mobile_jni.h rename to src/io/jni/paddle_mobile_jni.h