Sfoglia il codice sorgente

Add missing tag cleanup

Samuel Thibault 13 anni fa
parent
commit
94c15c2cd1
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      examples/tag_example/tag_example.c

+ 3 - 0
examples/tag_example/tag_example.c

@@ -232,6 +232,9 @@ int main(int argc __attribute__((unused)) , char **argv __attribute__((unused)))
 
 	starpu_task_wait_for_all();
 
+	tag_cleanup_grid(ni, nj, nk-2);
+	tag_cleanup_grid(ni, nj, nk-1);
+
 	starpu_shutdown();
 
 	FPRINTF(stderr, "TEST DONE ...\n");