Explorar o código

free all tags

Samuel Thibault %!s(int64=13) %!d(string=hai) anos
pai
achega
2e2fb107dc
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      examples/tag_example/tag_example2.c

+ 4 - 0
examples/tag_example/tag_example2.c

@@ -152,6 +152,10 @@ int main(int argc __attribute__((unused)) , char **argv __attribute__((unused)))
 			tag_cleanup_grid(ni, i-1);
 	}
 
+	starpu_task_wait_for_all();
+
+	tag_cleanup_grid(ni, nk-1);
+
 	starpu_shutdown();
 
 	FPRINTF(stderr, "TEST DONE ...\n");