提交 76cd9b63 authored 作者: Matthew Rocklin's avatar Matthew Rocklin

add view_map to MPIRecvWait

上级 41dfa2c7
...@@ -174,6 +174,8 @@ class MPIRecvWait(Op): ...@@ -174,6 +174,8 @@ class MPIRecvWait(Op):
def infer_shape(self, node, shapes): def infer_shape(self, node, shapes):
return [shapes[1]] return [shapes[1]]
view_map = {0: [1]}
class MPISend(Op): class MPISend(Op):
""" """
An operation to asynchronously Send an array to a remote host using MPI An operation to asynchronously Send an array to a remote host using MPI
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论