Explorar o código

TODO: copy on write for starpu_data_dup

Samuel Thibault %!s(int64=5) %!d(string=hai) anos
pai
achega
6862d3efcd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/util/starpu_data_cpy.c

+ 1 - 0
src/util/starpu_data_cpy.c

@@ -176,6 +176,7 @@ int starpu_data_cpy(starpu_data_handle_t dst_handle, starpu_data_handle_t src_ha
 	return _starpu_data_cpy(dst_handle, src_handle, asynchronous, callback_func, callback_arg, 0, NULL);
 }
 
+/* TODO: implement copy on write, and introduce starpu_data_dup as well */
 int starpu_data_dup_ro(starpu_data_handle_t *dst_handle, starpu_data_handle_t src_handle,
 			int asynchronous, void (*callback_func)(void*), void *callback_arg)
 {