Prechádzať zdrojové kódy

Do not cleanup the statically allocated tasks, as StarPU is still working on it after releasing the tag

Samuel Thibault 13 rokov pred
rodič
commit
95acc40a99
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      tests/core/static_restartable_tag.c

+ 4 - 1
tests/core/static_restartable_tag.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009, 2010-2011  Université de Bordeaux 1
+ * Copyright (C) 2009, 2010-2012  Université de Bordeaux 1
  * Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
  * Copyright (C) 2012 inria
  *
@@ -96,7 +96,10 @@ int main(int argc, char **argv)
 		STARPU_CHECK_RETURN_VALUE(ret, "starpu_tag_wait");
 	}
 
+	/* Do not cleanup the statically allocated tasks, as StarPU is still working on it after releasing the tag */
+#if 0
 	starpu_task_deinit(&task);
+#endif
 
 	gettimeofday(&end, NULL);