Pārlūkot izejas kodu

datawizard/interfaces/data_interface.c: initialize rank to -1

Nathalie Furmento 15 gadi atpakaļ
vecāks
revīzija
a859208d43
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/datawizard/interfaces/data_interface.c

+ 1 - 0
src/datawizard/interfaces/data_interface.c

@@ -40,6 +40,7 @@ static void _starpu_register_new_data(starpu_data_handle handle,
 	handle->father_handle = NULL;
 	handle->father_handle = NULL;
 	handle->sibling_index = 0; /* could be anything for the root */
 	handle->sibling_index = 0; /* could be anything for the root */
 	handle->depth = 1; /* the tree is just a node yet */
 	handle->depth = 1; /* the tree is just a node yet */
+        handle->rank = -1; /* invalid until set */
 
 
 	handle->is_not_important = 0;
 	handle->is_not_important = 0;