From c11b99241ba75e230bbfad6bd8adb75ca27302f0 Mon Sep 17 00:00:00 2001 From: hanbuhe Date: Thu, 16 Aug 2018 13:21:30 +0800 Subject: [PATCH] removed redentant fpga prefix --- src/fpga/{api/fpga_api.cpp => api.cpp} | 2 +- src/fpga/{api/fpga_api.h => api.h} | 0 src/fpga/{fpga_quantilization.cpp => quantization.cpp} | 2 +- src/fpga/{fpga_quantilization.h => quantization.h} | 0 src/memory/t_malloc.cpp | 2 +- src/operators/kernel/fpga/conv_add_bn_kernel.cpp | 4 ++-- src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp | 2 +- src/operators/kernel/fpga/conv_add_relu_kernel.cpp | 2 +- src/operators/kernel/fpga/conv_bn_kernel.cpp | 4 ++-- src/operators/kernel/fpga/conv_bn_relu_kernel.cpp | 2 +- src/operators/kernel/fpga/fc_relu_kernel.cpp | 2 +- src/operators/kernel/fpga/softmax_kernel.cpp | 2 +- src/operators/op_param.h | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) rename src/fpga/{api/fpga_api.cpp => api.cpp} (98%) rename src/fpga/{api/fpga_api.h => api.h} (100%) rename src/fpga/{fpga_quantilization.cpp => quantization.cpp} (98%) rename src/fpga/{fpga_quantilization.h => quantization.h} (100%) diff --git a/src/fpga/api/fpga_api.cpp b/src/fpga/api.cpp similarity index 98% rename from src/fpga/api/fpga_api.cpp rename to src/fpga/api.cpp index 1a0fb3839e..477d241e93 100644 --- a/src/fpga/api/fpga_api.cpp +++ b/src/fpga/api.cpp @@ -27,7 +27,7 @@ limitations under the License. */ #include #include -#include "fpga/api/fpga_api.h" +#include "api.h" namespace paddle_mobile { namespace fpga { diff --git a/src/fpga/api/fpga_api.h b/src/fpga/api.h similarity index 100% rename from src/fpga/api/fpga_api.h rename to src/fpga/api.h diff --git a/src/fpga/fpga_quantilization.cpp b/src/fpga/quantization.cpp similarity index 98% rename from src/fpga/fpga_quantilization.cpp rename to src/fpga/quantization.cpp index e8faf792b9..e28142f6cc 100644 --- a/src/fpga/fpga_quantilization.cpp +++ b/src/fpga/quantization.cpp @@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" #include namespace paddle_mobile { diff --git a/src/fpga/fpga_quantilization.h b/src/fpga/quantization.h similarity index 100% rename from src/fpga/fpga_quantilization.h rename to src/fpga/quantization.h diff --git a/src/memory/t_malloc.cpp b/src/memory/t_malloc.cpp index 8902543347..09bff80af7 100644 --- a/src/memory/t_malloc.cpp +++ b/src/memory/t_malloc.cpp @@ -18,7 +18,7 @@ limitations under the License. */ #ifdef PADDLE_MOBILE_FPGA -#include "fpga/api/fpga_api.h" +#include "fpga/api.h" #endif diff --git a/src/operators/kernel/fpga/conv_add_bn_kernel.cpp b/src/operators/kernel/fpga/conv_add_bn_kernel.cpp index e624104acf..af52b10e3b 100644 --- a/src/operators/kernel/fpga/conv_add_bn_kernel.cpp +++ b/src/operators/kernel/fpga/conv_add_bn_kernel.cpp @@ -15,8 +15,8 @@ limitations under the License. */ #ifdef FUSION_CONVADDBN_OP #include "operators/kernel/conv_add_bn_kernel.h" -#include "fpga/api/fpga_api.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/api.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp b/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp index d6fee83839..34deb2d658 100644 --- a/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp +++ b/src/operators/kernel/fpga/conv_add_bn_relu_kernel.cpp @@ -15,7 +15,7 @@ limitations under the License. */ #ifdef FUSION_CONVADDBNRELU_OP #include "operators/kernel/conv_add_bn_relu_kernel.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_add_relu_kernel.cpp b/src/operators/kernel/fpga/conv_add_relu_kernel.cpp index fd6379d8f3..01e6bb0736 100644 --- a/src/operators/kernel/fpga/conv_add_relu_kernel.cpp +++ b/src/operators/kernel/fpga/conv_add_relu_kernel.cpp @@ -15,7 +15,7 @@ limitations under the License. */ #ifdef FUSION_CONVADDRELU_OP #include "operators/kernel/conv_add_relu_kernel.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_bn_kernel.cpp b/src/operators/kernel/fpga/conv_bn_kernel.cpp index 559b948b7b..70869a526f 100644 --- a/src/operators/kernel/fpga/conv_bn_kernel.cpp +++ b/src/operators/kernel/fpga/conv_bn_kernel.cpp @@ -15,8 +15,8 @@ limitations under the License. */ #ifdef FUSION_CONVBN_OP #include "operators/kernel/conv_bn_kernel.h" -#include "fpga/api/fpga_api.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/api.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp b/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp index cfdc85b091..9261c78657 100644 --- a/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp +++ b/src/operators/kernel/fpga/conv_bn_relu_kernel.cpp @@ -15,7 +15,7 @@ limitations under the License. */ #ifdef FUSION_CONVBNRELU_OP #include "operators/kernel/conv_bn_relu_kernel.h" -#include "fpga/fpga_quantilization.h" +#include "fpga/quantization.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/fc_relu_kernel.cpp b/src/operators/kernel/fpga/fc_relu_kernel.cpp index 21e334b12b..321b164d83 100644 --- a/src/operators/kernel/fpga/fc_relu_kernel.cpp +++ b/src/operators/kernel/fpga/fc_relu_kernel.cpp @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. */ #ifdef FUSION_FCRELU_OP #include "operators/kernel/fc_relu_kernel.h" -#include "fpga/api/fpga_api.h" +#include "fpga/api.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/kernel/fpga/softmax_kernel.cpp b/src/operators/kernel/fpga/softmax_kernel.cpp index 95bcb28f9c..6424de8afe 100644 --- a/src/operators/kernel/fpga/softmax_kernel.cpp +++ b/src/operators/kernel/fpga/softmax_kernel.cpp @@ -17,7 +17,7 @@ limitations under the License. */ #include "../softmax_kernel.h" #include "../central-arm-func/softmax_arm_func.h" #include "common/types.h" -#include "fpga/api/fpga_api.h" +#include "fpga/api.h" #include "operators/math/softmax.h" namespace paddle_mobile { namespace operators { diff --git a/src/operators/op_param.h b/src/operators/op_param.h index c39d9657bc..1ed5b4c8a8 100644 --- a/src/operators/op_param.h +++ b/src/operators/op_param.h @@ -23,7 +23,7 @@ limitations under the License. */ #include "framework/tensor.h" #include "framework/variable.h" #ifdef PADDLE_MOBILE_FPGA -#include "fpga/api/fpga_api.h" +#include "fpga/api.h" #endif namespace paddle_mobile { -- GitLab