Closed microlijun closed 5 years ago
Hello @microlijun ,
The argument 'histogram' in the calcHist() API is a pointer with no info of its size. For Standalone HLS Synthesis, the _maxi HLS interface pragma needs to be declared for such arguments. See point no.3 on page 3 of HLS Use Model Doc.
Hi, I am migrating my opencv application to xfopencv. The C Simulation passed but I got error when run C Synthesis.
ERROR: [SYNCHK 200-61] /home/jun/WorkSpace2/xfopencv/include/imgproc/xf_histogram.hpp:169: unsupported memory access on variable 'histogram' which is (or contains) an array with unknown size at compile time.
xf::calcHist is used, that might be the problem. How can I solve this problem?