Просмотр исходного кода

starpu_replay: Remove disabling the sequential consistency: thanks to the submitorder we submit tasks in the proper order and can thus let sequential consistency play its role. This is needed for MPI support

Samuel Thibault лет назад: 5
Родитель
Сommit
d531456057
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      tools/starpu_replay.c

+ 2 - 6
tools/starpu_replay.c

@@ -633,10 +633,6 @@ int submit_tasks(void)
 		else
 		{
 			fix_wontuse_handle(currentTask); /* Add the handle in the wontuse task */
-                        /* FIXME: can not actually work properly since we have
-                         * disabled sequential consistency, so we don't have any
-                         * easy way to make this wait for the last task that
-                         * wrote to the handle. */
 			if (currentTask->task.handles[0])
 				starpu_data_wont_use(currentTask->task.handles[0]);
 		}
@@ -662,8 +658,6 @@ static void usage(const char *program)
 
 int main(int argc, char **argv)
 {
-	starpu_data_set_default_sequential_consistency_flag(0);
-
 	FILE *rec;
 	char *s;
 	const char *tasks_rec = NULL;
@@ -673,6 +667,8 @@ int main(int argc, char **argv)
 
 	unsigned long nread_tasks = 0;
 
+	/* FIXME: we do not support data with sequential consistency disabled */
+
 	_STARPU_MALLOC(s, s_allocated);
 	dependson_size = REPLAY_NMAX_DEPENDENCIES; /* Change the value of REPLAY_NMAX_DEPENCIES to modify the number of dependencies */
 	_STARPU_MALLOC(dependson, dependson_size * sizeof (* dependson));