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

Removed macro function

parent deda2713
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,6 @@
#include "lbm.h"
#include "../futhark_mpi/dispatch.h"
#define INDEX_3D_TO_1D(y, x, z, nb_columns, nb_depths) x + HEIGHT* (y + WIDTH* z)
#define N_MEASURES 15
#define N_ITERATIONS 100
#define NB_VALUES 27
......@@ -52,7 +50,7 @@ void compute_next_lbm(struct dispatch_context *dc, struct futhark_context *fc, c
}
int main(int argc, char *argv[]) {
if (argc < 4) {
if (argc < 5) {
printf("usage: mpirun -n <nb_proc> %s <nb_devices> <height> <width> <depth>\n", argv[0]);
return EXIT_FAILURE;
}
......@@ -93,7 +91,6 @@ int main(int argc, char *argv[]) {
struct dispatch_context *disp_context = dispatch_context_new(lbm_dimensions, my_mpi_type, 3);
chunk_info_t ci = get_chunk_info(disp_context);
chunk_info_print(&ci);
init_chunk_lbm(&ci);
for (int i = 0; i < N_MEASURES; ++i) {
......
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