Преглед на файлове

Explicit that one initializes the data interface before registering data

Samuel Thibault преди 5 години
родител
ревизия
37ff44b9de
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      doc/doxygen/chapters/410_mpi_support.doxy

+ 4 - 0
doc/doxygen/chapters/410_mpi_support.doxy

@@ -413,6 +413,10 @@ static struct starpu_data_interface_ops interface_complex_ops =
 interface_complex_ops.interfaceid = starpu_data_interface_get_next_id();
 
 starpu_mpi_interface_datatype_register(interface_complex_ops.interfaceid, starpu_complex_interface_datatype_allocate, starpu_complex_interface_datatype_free);
+
+starpu_data_interface handle;
+starpu_complex_data_register(&handle, STARPU_MAIN_RAM, real, imaginary, 2);
+...
 \endcode