|
@@ -549,7 +549,7 @@ int _starpu_simgrid_transfer(size_t size, unsigned src_node, unsigned dst_node,
|
|
hosts[1] = _starpu_simgrid_memory_node_get_host(dst_node);
|
|
hosts[1] = _starpu_simgrid_memory_node_get_host(dst_node);
|
|
STARPU_ASSERT(hosts[0] != hosts[1]);
|
|
STARPU_ASSERT(hosts[0] != hosts[1]);
|
|
if (size)
|
|
if (size)
|
|
- communication[1] = size+0.000001;
|
|
|
|
|
|
+ communication[1] = size;
|
|
else
|
|
else
|
|
/* Simgrid does not like 0-bytes transfers, fake one byte */
|
|
/* Simgrid does not like 0-bytes transfers, fake one byte */
|
|
communication[1] = 1;
|
|
communication[1] = 1;
|