diff --git a/src/fpga/V2/filter.cpp b/src/fpga/V2/filter.cpp index ce278edbeed64f2ca413c1f75ff620ee1f44c83d..e72d97f3d024c2ee2e978fb40d8d6d243c203d75 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