From 3ba0450cd9db25ada20850a205a1a562cf53891f Mon Sep 17 00:00:00 2001 From: zhangyang Date: Mon, 19 Nov 2018 16:28:05 +0800 Subject: [PATCH] correct align_filter function mistake for FPGA track --- src/fpga/V2/filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fpga/V2/filter.cpp b/src/fpga/V2/filter.cpp index ce278edbee..e72d97f3d0 100644 --- a/src/fpga/V2/filter.cpp +++ b/src/fpga/V2/filter.cpp @@ -73,7 +73,7 @@ void convert_to_hwc(float **data_in, int num, int channel, int height, void align_filter(float **data_in, int num, int channel, int height, int width) { - int aligned_channel = calc_channel_parallelism(channel); + int aligned_channel = calc_aligned_channel(channel); int hw = height * width; int pixel_num = calc_aligned_total_pixel_num(num, channel, height, width); float *new_data = (float *)fpga_malloc(pixel_num * sizeof(float)); // NOLINT -- GitLab