@@ -198,8 +198,8 @@ void pooling2d_cl(data_T data[CONFIG_T::in_height * CONFIG_T::in_width * CONFIG_
198198
199199 // TODO partition the arrays according to the reuse factor
200200 const int limit = pool_op_limit<CONFIG_T>();
201- #pragma HLS ALLOCATION function instances=pool_op<data_T, CONFIG_T::pool_height*CONFIG_T::pool_width,
202- // CONFIG_T::pool_op> limit=limit
201+ #pragma HLS ALLOCATION function instances=pool_op<data_T, CONFIG_T::pool_height*CONFIG_T::pool_width, \
202+ CONFIG_T::pool_op> limit=limit
203203 // Add any necessary padding
204204 unsigned padded_height = CONFIG_T::in_height + CONFIG_T::pad_top + CONFIG_T::pad_bottom;
205205 unsigned padded_width = CONFIG_T::in_width + CONFIG_T::pad_left + CONFIG_T::pad_right;
@@ -255,8 +255,8 @@ void pooling2d_cf(data_T data[CONFIG_T::in_height * CONFIG_T::in_width * CONFIG_
255255
256256 // TODO partition the arrays according to the reuse factor
257257 const int limit = pool_op_limit<CONFIG_T>();
258- #pragma HLS ALLOCATION function instances=pool_op<data_T, CONFIG_T::pool_height*CONFIG_T::pool_width,
259- // CONFIG_T::pool_op> limit=limit
258+ #pragma HLS ALLOCATION function instances=pool_op<data_T, CONFIG_T::pool_height*CONFIG_T::pool_width, \
259+ CONFIG_T::pool_op> limit=limit
260260 // Add any necessary padding
261261 unsigned padded_height = CONFIG_T::in_height + CONFIG_T::pad_top + CONFIG_T::pad_bottom;
262262 unsigned padded_width = CONFIG_T::in_width + CONFIG_T::pad_left + CONFIG_T::pad_right;
@@ -317,8 +317,8 @@ void global_pooling2d_cl(data_T data[CONFIG_T::in_height * CONFIG_T::in_width *
317317 #pragma HLS PIPELINE II=CONFIG_T::reuse_factor
318318
319319 const int limit = pool_op_limit<CONFIG_T>();
320- #pragma HLS ALLOCATION function instances=pool_op<data_T, CONFIG_T::pool_width * CONFIG_T::pool_height,
321- // CONFIG_T::pool_op> limit=limit
320+ #pragma HLS ALLOCATION function instances=pool_op<data_T, CONFIG_T::pool_width * CONFIG_T::pool_height, \
321+ CONFIG_T::pool_op> limit=limit
322322
323323FiltLoop:
324324 for (int filt = 0 ; filt < CONFIG_T::n_filt; filt++) {
0 commit comments