瀏覽代碼

Add missing hook from previous commit

Samuel Thibault 13 年之前
父節點
當前提交
c7c3522023
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/starpu_data_interfaces.h

+ 1 - 1
include/starpu_data_interfaces.h

@@ -110,7 +110,7 @@ struct starpu_data_interface_ops
 	/* Free data of the interface on a given node. */
 	void (*free_data_on_node)(void *data_interface, uint32_t node);
 	/* ram/cuda/spu/opencl synchronous and asynchronous transfer methods */
-	const struct starpu_data_copy_methods *copy_methods;
+	struct starpu_data_copy_methods *copy_methods;
 	/* Return the current pointer (if any) for the handle on the given node. */
 	void * (*handle_to_pointer)(starpu_data_handle_t handle, uint32_t node);
 	/* Return an estimation of the size of data, for performance models */