Skip to content

Commit

Permalink
WIP [MemPool-Spatz]
Browse files Browse the repository at this point in the history
Fix a bug in sp-axpy test
  • Loading branch information
msc23h24 Diyou Shen (dishen) committed Dec 11, 2023
1 parent e17227c commit bc8e7dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion software/apps/sp-axpy/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@ int main() {
if (cid == 0) {
int error = verify_matrix(y, r, esize, cid);
printf("Errors: %d\n", error);
if (error != 0)
return error
}

// Wait for core 0 to finish displaying results
mempool_barrier(num_cores);

return error;
return 0;
}

0 comments on commit bc8e7dd

Please sign in to comment.