From a58aa10edbbb4826c96d07c2fb8cf60c1c5f7073 Mon Sep 17 00:00:00 2001
From: Alycia Lisito <alycia.lisito@inria.fr>
Date: Tue, 1 Mar 2022 14:14:30 +0100
Subject: [PATCH] runtime/starpu: Remove recursive flush for descriptor

---
 runtime/starpu/control/runtime_descriptor.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/runtime/starpu/control/runtime_descriptor.c b/runtime/starpu/control/runtime_descriptor.c
index f8415a75d..f8db757c4 100644
--- a/runtime/starpu/control/runtime_descriptor.c
+++ b/runtime/starpu/control/runtime_descriptor.c
@@ -393,17 +393,6 @@ void RUNTIME_data_flush( const RUNTIME_sequence_t *sequence,
         return;
     }
 
-    /*
-     * TODO: check later, a better check would be to check if we
-     * partitionned the handle or not
-     *
-     * Right now, we can't flush a partitionned handle, we would need to
-     * unpartition first, so we flush only the children.
-     */
-    if ( tile->format & CHAMELEON_TILE_DESC ) {
-        CHAMELEON_Desc_Flush( tile->mat, sequence );
-    }
-
 #if defined(CHAMELEON_USE_MPI)
     starpu_mpi_cache_flush( MPI_COMM_WORLD, *handle );
 #endif
-- 
GitLab