Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot enable layerwise output write #160

Open
WenyeLiu opened this issue Apr 21, 2019 · 1 comment
Open

Cannot enable layerwise output write #160

WenyeLiu opened this issue Apr 21, 2019 · 1 comment

Comments

@WenyeLiu
Copy link

Follow the instruction to dump the outputs of hardware accelerated layers, I set the
#define LAYERWISE_OUTPUT_WRITE 1 in software/include/hw_settings.h.

When I compile the software, it reports error as
../checkers/checkers_utils.hpp: In function ‘int cpCheck(xChangeLayer, FILE*&, FILE*&)’:
../checkers/checkers_utils.hpp:122:2: error: ‘SoftwareUnpack’ was not declared in this scope
SoftwareUnpack<IO_DATA_TYPE>(hls_out1, hls_out2, height, width, indepth, out_fbits, sf, th, quant,
^~~~~~~~~~~~~~
In file included from ../checkers/checkers.cpp:18:0:
../checkers/../include/hw_settings.h:143:22: error: expected primary-expression before ‘signed’
#define IO_DATA_TYPE signed char
^
../checkers/checkers_utils.hpp:122:17: note: in expansion of macro ‘IO_DATA_TYPE’
SoftwareUnpack<IO_DATA_TYPE>(hls_out1, hls_out2, height, width, indepth, out_fbits, sf, th, quant,

It seems the SoftwareUnpack is not declared but I cannot find where is the definition or implementation of this method.

@btwbtw01
Copy link

btwbtw01 commented Aug 9, 2021

I have the same issue. Can someone help me solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants