Просмотр исходного кода

note that pointer_is_inside is optional

Samuel Thibault лет назад: 7
Родитель
Сommit
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);