|
@@ -124,16 +124,16 @@ struct starpu_data_copy_methods
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
\p src_node CPU node to the \p dst_interface interface on the \p
|
|
|
- dst_node MIC node. Return 0 on success.
|
|
|
+ dst_node FPGA node. Return 0 on success.
|
|
|
*/
|
|
|
- int (*ram_to_mic)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node);
|
|
|
+ int (*ram_to_fpga)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
\p src_node CPU node to the \p dst_interface interface on the \p
|
|
|
- dst_node FPGA node. Return 0 on success.
|
|
|
+ dst_node MIC node. Return 0 on success.
|
|
|
*/
|
|
|
- int (*ram_to_fpga)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node);
|
|
|
+ int (*ram_to_mic)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
@@ -179,17 +179,17 @@ struct starpu_data_copy_methods
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
- \p src_node MIC node to the \p dst_interface interface on the \p
|
|
|
+ \p src_node FPGA node to the \p dst_interface interface on the \p
|
|
|
dst_node CPU node. Return 0 on success.
|
|
|
*/
|
|
|
- int (*mic_to_ram)(void *src_interface, unsigned srd_node, void *dst_interface, unsigned dst_node);
|
|
|
+ int (*fpga_to_ram)(void *src_interface, unsigned srd_node, void *dst_interface, unsigned dst_node);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
- \p src_node FPGA node to the \p dst_interface interface on the \p
|
|
|
+ \p src_node MIC node to the \p dst_interface interface on the \p
|
|
|
dst_node CPU node. Return 0 on success.
|
|
|
*/
|
|
|
- int (*fpga_to_ram)(void *src_interface, unsigned srd_node, void *dst_interface, unsigned dst_node);
|
|
|
+ int (*mic_to_ram)(void *src_interface, unsigned srd_node, void *dst_interface, unsigned dst_node);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
@@ -288,32 +288,22 @@ struct starpu_data_copy_methods
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
\p src_node CPU node to the \p dst_interface interface on the \p
|
|
|
- dst_node MPI Slave node, with the given even. Must return 0 if the
|
|
|
- transfer was actually completed completely synchronously, or
|
|
|
- <c>-EAGAIN</c> if at least some transfers are still ongoing and
|
|
|
- should be awaited for by the core.
|
|
|
- */
|
|
|
- int (*ram_to_mpi_ms_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node, void * event);
|
|
|
-
|
|
|
- /**
|
|
|
- Define how to copy data from the \p src_interface interface on the
|
|
|
- \p src_node MPI Slave node to the \p dst_interface interface on
|
|
|
- the \p dst_node CPU node, with the given event. Must return 0 if
|
|
|
- the transfer was actually completed completely synchronously, or
|
|
|
- <c>-EAGAIN</c> if at least some transfers are still ongoing and
|
|
|
- should be awaited for by the core.
|
|
|
+ dst_node FPGA node. Must return 0 if the transfer was actually
|
|
|
+ completed completely synchronously, or <c>-EAGAIN</c> if at least
|
|
|
+ some transfers are still ongoing and should be awaited for by the
|
|
|
+ core.
|
|
|
*/
|
|
|
- int (*mpi_ms_to_ram_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node, void * event);
|
|
|
+ int (*ram_to_fpga_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
- \p src_node MPI Slave node to the \p dst_interface interface on
|
|
|
- the \p dst_node MPI Slave node, using the given stream. Must
|
|
|
- return 0 if the transfer was actually completed completely
|
|
|
- synchronously, or <c>-EAGAIN</c> if at least some transfers are
|
|
|
- still ongoing and should be awaited for by the core.
|
|
|
+ \p src_node FPGA node to the \p dst_interface interface on the \p
|
|
|
+ dst_node CPU node. Must return 0 if the transfer was actually
|
|
|
+ completed completely synchronously, or <c>-EAGAIN</c> if at least
|
|
|
+ some transfers are still ongoing and should be awaited for by the
|
|
|
+ core.
|
|
|
*/
|
|
|
- int (*mpi_ms_to_mpi_ms_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node, void * event);
|
|
|
+ int (*fpga_to_ram_async)(void *src_interface, unsigned srd_node, void *dst_interface, unsigned dst_node);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
@@ -338,22 +328,32 @@ struct starpu_data_copy_methods
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
\p src_node CPU node to the \p dst_interface interface on the \p
|
|
|
- dst_node FPGA node. Must return 0 if the transfer was actually
|
|
|
- completed completely synchronously, or <c>-EAGAIN</c> if at least
|
|
|
- some transfers are still ongoing and should be awaited for by the
|
|
|
- core.
|
|
|
+ dst_node MPI Slave node, with the given even. Must return 0 if the
|
|
|
+ transfer was actually completed completely synchronously, or
|
|
|
+ <c>-EAGAIN</c> if at least some transfers are still ongoing and
|
|
|
+ should be awaited for by the core.
|
|
|
*/
|
|
|
- int (*ram_to_fpga_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node);
|
|
|
+ int (*ram_to_mpi_ms_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node, void * event);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|
|
|
- \p src_node FPGA node to the \p dst_interface interface on the \p
|
|
|
- dst_node CPU node. Must return 0 if the transfer was actually
|
|
|
- completed completely synchronously, or <c>-EAGAIN</c> if at least
|
|
|
- some transfers are still ongoing and should be awaited for by the
|
|
|
- core.
|
|
|
+ \p src_node MPI Slave node to the \p dst_interface interface on
|
|
|
+ the \p dst_node CPU node, with the given event. Must return 0 if
|
|
|
+ the transfer was actually completed completely synchronously, or
|
|
|
+ <c>-EAGAIN</c> if at least some transfers are still ongoing and
|
|
|
+ should be awaited for by the core.
|
|
|
*/
|
|
|
- int (*fpga_to_ram_async)(void *src_interface, unsigned srd_node, void *dst_interface, unsigned dst_node);
|
|
|
+ int (*mpi_ms_to_ram_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node, void * event);
|
|
|
+
|
|
|
+ /**
|
|
|
+ Define how to copy data from the \p src_interface interface on the
|
|
|
+ \p src_node MPI Slave node to the \p dst_interface interface on
|
|
|
+ the \p dst_node MPI Slave node, using the given stream. Must
|
|
|
+ return 0 if the transfer was actually completed completely
|
|
|
+ synchronously, or <c>-EAGAIN</c> if at least some transfers are
|
|
|
+ still ongoing and should be awaited for by the core.
|
|
|
+ */
|
|
|
+ int (*mpi_ms_to_mpi_ms_async)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node, void * event);
|
|
|
|
|
|
/**
|
|
|
Define how to copy data from the \p src_interface interface on the
|