moves starpu_handles to a more global scope