ABORT(pid 1):{bsp_set_tagsize} "BSP.cpp" の 136 行目タグ サイズはすべてのプロセッサで同じではありません
それが何を意味するか?
bsp_begin(bsp_nprocs());
...
bsp_push_reg(matrix,sizeof(int)*sizeMatrix*sizeMatrix);
bsp_push_reg(&answer,sizeof(int));
bsp_sync();
...
for(level=1;level<=sizeMatrix;level++){
...
}
bsp_sync();
bsp_pop_reg(matrix);
bsp_pop_reg(&answer);
bsp_sync();
bsp_end();
for に bsp_sync() がありません for をコメントに入れると機能しますが、そうでない場合はそのエラーが表示されます。
誰かが説明できますか?