未验证 提交 cbf15fc1 编写于 作者: Y Yanzhan Yang 提交者: GitHub

fix auto test failure in case that input is too large (#1777)

上级 16811a7c
......@@ -102,7 +102,7 @@ void test(int argc, char *argv[]) {
<< " load-time-cost :" << time_diff(time1, time2) << "ms"
<< std::endl;
float input_data_array[size];
float *input_data_array = new float[size];
std::ifstream in("input.txt", std::ios::in);
for (int i = 0; i < size; i++) {
float num;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册