浏览代码

note that pointer_is_inside is optional

Samuel Thibault 6 年之前
父节点
当前提交
c87a684b71
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/starpu_data_interfaces.h

+ 1 - 0
include/starpu_data_interfaces.h

@@ -431,6 +431,7 @@ struct starpu_data_interface_ops
 
 
 	/**
 	/**
 	   Return whether the given \p ptr is within the data for the given interface on the given node.
 	   Return whether the given \p ptr is within the data for the given interface on the given node.
+	   This method is optional, as it is only used for coherency checks.
 	*/
 	*/
 	int 		 (*pointer_is_inside)		(void *data_interface, unsigned node, void *ptr);
 	int 		 (*pointer_is_inside)		(void *data_interface, unsigned node, void *ptr);