Skip to content

Commit

Permalink
Fix assertion about partitioning lazy-allocated handles
Browse files Browse the repository at this point in the history
  • Loading branch information
Alycia Lisito authored and sthibaul committed Dec 6, 2023
1 parent d1e2885 commit ce85dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datawizard/filters.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ static void _starpu_data_partition(starpu_data_handle_t initial_handle, starpu_d
void *initial_interface = starpu_data_get_interface_on_node(initial_handle, node);
void *child_interface = starpu_data_get_interface_on_node(child, node);

STARPU_ASSERT_MSG(!(!inherit_state && child_replicate->automatically_allocated && child_replicate->allocated), "partition planning is currently not supported when handle has some automatically allocated buffers");
STARPU_ASSERT_MSG(!(!inherit_state && initial_replicate->automatically_allocated && child_replicate->allocated), "partition planning is currently not supported when handle has some automatically allocated buffers");
f->filter_func(initial_interface, child_interface, f, i, nparts);
}

Expand Down

0 comments on commit ce85dea

Please sign in to comment.