Skip to content

Commit

Permalink
make sure failed testing returns failure status
Browse files Browse the repository at this point in the history
  • Loading branch information
ngc92 committed Jun 8, 2024
1 parent 637c1b6 commit 1bf33cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_gpt2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,5 @@ int main(int argc, char *argv[]) {
free(expected_grads_memory);
free(grads_memory_cpu);
free(grads_memory_cpu_float);
return 0;
return allok ? EXIT_SUCCESS : EXIT_FAILURE;
}

0 comments on commit 1bf33cc

Please sign in to comment.