Browse Source

examples/basic_examples/block.c: do not call starpu_task_destroy on a asynchronous task

Nathalie Furmento 14 years ago
parent
commit
15a815a85f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      examples/basic_examples/block.c

+ 0 - 1
examples/basic_examples/block.c

@@ -62,7 +62,6 @@ int execute_on(uint32_t where, device_func func, float *block, int pnx, int pny,
 	}
 
 	starpu_task_wait_for_all();
-	starpu_task_destroy(task);
 
 	/* update the array in RAM */
 	starpu_data_unregister(block_handle);