Skip to content
Snippets Groups Projects
Verified Commit 2c31aced authored by raphael.bach's avatar raphael.bach
Browse files

Fix futhark allocation not removed in `fmpi_task_register()`

parent 02f5644e
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,6 @@ struct fmpi_task fmpi_task_register(
.func = func,
.args = *args
};
for(size_t i = 0; i < args->cnt; i++) {
task.args.in[i].start = futhark_new_i64_1d(ctx->fut->ctx, args->in[i].start, (int64_t)args->in[i].dims_length[0]);
}
futhark_context_sync(ctx->fut->ctx);
return task;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment