Browse Source

Add missing call to starpu_do_schedule, to make the graph_test algorithm schedule tasks

Samuel Thibault 8 years ago
parent
commit
7cb7c44b45
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/datawizard/acquire_try.c

+ 1 - 0
tests/datawizard/acquire_try.c

@@ -65,6 +65,7 @@ int main(int argc, char **argv)
 	ret = starpu_data_acquire_try(token_handle, STARPU_R);
 	STARPU_ASSERT(ret != 0);
 
+	starpu_do_schedule();
 	while ((ret = starpu_data_acquire_try(token_handle, STARPU_R)) != 0)
 	{
 		starpu_sleep(0.001);