Selaa lähdekoodia

note that pointer_is_inside is optional

Samuel Thibault 7 vuotta sitten
vanhempi
commit
c87a684b71
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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);