From 6535d7cd978fd42f5cd95ab676db3a35427861af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nathan=20Pr=C3=A9cigout?= <nathan.precigout@atos.net>
Date: Tue, 7 Feb 2023 16:56:03 +0100
Subject: [PATCH] StarPU no longer has the struct field pointer_is_inside in
 the struct starpu_data_interface_ops

---
 runtime/starpu/interface/cham_tile_interface.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/runtime/starpu/interface/cham_tile_interface.c b/runtime/starpu/interface/cham_tile_interface.c
index 8191a6aae..f74623e63 100644
--- a/runtime/starpu/interface/cham_tile_interface.c
+++ b/runtime/starpu/interface/cham_tile_interface.c
@@ -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,
-- 
GitLab