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

Error caused by --host-serialize #16

Open
zhengyue08 opened this issue Sep 13, 2022 · 0 comments
Open

Error caused by --host-serialize #16

zhengyue08 opened this issue Sep 13, 2022 · 0 comments

Comments

@zhengyue08
Copy link

When I tried to simulate the Convolutional Neural Network (Single Layer, Small) example provided, it generated an error as below

================= IO Grouping Information =================
terminate called after throwing an instance of 'std::out_of_range'
  what():  stoi
[AutoSA] Error: Exit abnormally!

the command is posted below

./autosa ./autosa_tests/cnn/kernel.c \
--config=./autosa_config/autosa_config.json \
--target=autosa_hls_c \
--output-dir=./autosa.tmp/output \
--sa-sizes="{kernel[]->space_time[4];kernel[]->array_part[8,8,4,8];kernel[]->latency[4,2,4];kernel[]->simd[1,1,1,2]}" \
--simd-info=./autosa_tests/cnn/simd_info.json \
--host-serialize \
--no-reverse-order \
--hls

And I found that there are two ways to deal with the error:

  1. remove --host-serialize option from the command.
  2. decrease variable defined in kernel.h.

I want to know how --host-serialize caused this problem, which really made me confused.

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

1 participant