Commit d9375649 authored by Misbah Mubarak's avatar Misbah Mubarak

bug fix for optimistic mode for mpi-replay layer

parent 8de53c54
...@@ -227,7 +227,6 @@ void codes_workload_get_next( ...@@ -227,7 +227,6 @@ void codes_workload_get_next(
return; return;
} }
/* ask generator for the next operation */
method_array[wkld_id]->codes_workload_get_next(app_id, rank, op); method_array[wkld_id]->codes_workload_get_next(app_id, rank, op);
assert(op->op_type); assert(op->op_type);
...@@ -253,7 +252,7 @@ void codes_workload_get_next_rc( ...@@ -253,7 +252,7 @@ void codes_workload_get_next_rc(
} }
assert(tmp); assert(tmp);
tmp_op = (struct rc_op*)calloc(1, sizeof(*tmp_op)); tmp_op = (struct rc_op*)malloc(sizeof(struct rc_op));
assert(tmp_op); assert(tmp_op);
tmp_op->op = *op; tmp_op->op = *op;
tmp_op->next = tmp->lifo; tmp_op->next = tmp->lifo;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#define ALLREDUCE_SHORT_MSG_SIZE 2048 #define ALLREDUCE_SHORT_MSG_SIZE 2048
#define DBG_COMM 0 //#define DBG_COMM 0
using namespace std; using namespace std;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment