Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6535d7cd authored by Nathan Précigout's avatar Nathan Précigout
Browse files

StarPU no longer has the struct field pointer_is_inside in the struct starpu_data_interface_ops

parent 01a04887
No related branches found
No related tags found
1 merge request!361StarPU no longer has the struct field pointer_is_inside in the struct starpu_data_interface_ops
......@@ -220,21 +220,6 @@ cti_to_pointer( void *data_interface, unsigned node )
return (void*)(cham_tile_interface->tile.mat);
}
static int
cti_pointer_is_inside( void *data_interface, unsigned node, void *ptr )
{
(void) node;
starpu_cham_tile_interface_t *cham_tile_interface = data_interface;
char *begin = cham_tile_interface->tile.mat;
char *end = begin + cham_tile_interface->allocsize;
STARPU_ASSERT_MSG( cham_tile_interface->tile.format & CHAMELEON_TILE_FULLRANK,
"Only full-rank matrices are supported." );
return ( (char*) ptr >= begin )
&& ( (char*) ptr < end );
}
static size_t
cti_get_size(starpu_data_handle_t handle)
{
......@@ -661,7 +646,6 @@ struct starpu_data_interface_ops starpu_interface_cham_tile_ops =
.alloc_footprint = cti_alloc_footprint,
#endif
.to_pointer = cti_to_pointer,
.pointer_is_inside = cti_pointer_is_inside,
.get_size = cti_get_size,
.get_alloc_size = cti_get_alloc_size,
.footprint = cti_footprint,
......
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