Skip to content
Snippets Groups Projects
Verified Commit ded5fed2 authored by baptiste.coudray's avatar baptiste.coudray
Browse files

Updated bench

parent e97c08cc
No related branches found
No related tags found
No related merge requests found
......@@ -41,9 +41,9 @@ double compute_next_chunk_elems(struct dispatch_context *dc, struct futhark_cont
}
futhark_values_i8_1d(fc, fut_next_chunk_elems, ci->data);
futhark_context_sync(fc);
futhark_free_i8_1d(fc, fut_chunk_with_envelope);
double finish = MPI_Wtime();
futhark_free_i8_1d(fc, fut_chunk_with_envelope);
return finish - start;
}
......
......@@ -45,9 +45,9 @@ double compute_next_chunk_board(struct dispatch_context *dc, struct futhark_cont
}
futhark_values_i8_2d(fc, fut_next_chunk_board, ci->data);
futhark_context_sync(fc);
futhark_free_i8_2d(fc, fut_chunk_with_envelope);
double finish = MPI_Wtime();
futhark_free_i8_2d(fc, fut_chunk_with_envelope);
return finish - start;
}
......
......@@ -53,9 +53,9 @@ double compute_next_lbm(struct dispatch_context *dc, struct futhark_context *fc,
}
futhark_values_f32_4d(fc, fut_next_chunk_lbm, ci->data);
futhark_context_sync(fc);
futhark_free_f32_4d(fc, fut_chunk_with_envelope);
double finish = MPI_Wtime();
futhark_free_f32_4d(fc, fut_chunk_with_envelope);
return finish - start;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment