瀏覽代碼

mpi/src/starpu_mpi.c: update code to follow new prototype for starpu_handle_pack_data()

Nathalie Furmento 13 年之前
父節點
當前提交
891b90457f
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      mpi/src/starpu_mpi.c

+ 1 - 2
mpi/src/starpu_mpi.c

@@ -116,8 +116,7 @@ static void _starpu_mpi_isend_func(struct _starpu_mpi_req *req)
 	req->needs_unpacking = starpu_mpi_handle_to_datatype(req->data_handle, &req->datatype);
 	if (req->needs_unpacking)
 	{
-		req->count = starpu_handle_get_size(req->data_handle);
-		starpu_handle_pack_data(req->data_handle, &req->ptr);
+		starpu_handle_pack_data(req->data_handle, &req->ptr, &req->count);
 	}
 	else
 	{