Xilinx / xfopencv

Other
321 stars 144 forks source link

how to drain unused xf::Mat in HLS? #68

Closed 3togo closed 4 years ago

3togo commented 4 years ago

I only need to process _dst_matx. As a result _dst_maty will never be used, I wonder what is the proper to drain xf::Mat?

void Sobel(xf::Mat<SRC_T, ROWS, COLS, NPC> & _src_mat,xf::Mat<DST_T, ROWS, COLS, NPC> & _dst_matx,xf::Mat<DST_T, ROWS, COLS, NPC> & _dst_maty)

bgouthamb commented 4 years ago

@3togo You can simply readout the Mat that you do not wish to process.

3togo commented 4 years ago

many thanks