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:
- remove
--host-serialize option from the command.
- decrease variable defined in
kernel.h.
I want to know how --host-serialize caused this problem, which really made me confused.
When I tried to simulate the Convolutional Neural Network (Single Layer, Small) example provided, it generated an error as below
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 \ --hlsAnd I found that there are two ways to deal with the error:
--host-serializeoption from the command.kernel.h.I want to know how
--host-serializecaused this problem, which really made me confused.