Ver código fonte

Make sure the tasks are completely finished before overwriting the codelet structure

Samuel Thibault 8 anos atrás
pai
commit
8bcad7efab
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      tests/microbenchs/matrix_as_vector.c

+ 1 - 0
tests/microbenchs/matrix_as_vector.c

@@ -173,6 +173,7 @@ end:
 	if (ret == -ENODEV)
 		fprintf(stderr, "# Uh, ENODEV?!");
 	starpu_free(matrix);
+	starpu_task_wait_for_all();
 	return ret;
 }