This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我使用 MPI(消息传递接口)在 c 中编写了一个程序,该程序递归地计算下三角矩阵的逆矩阵。每个 cpu 向其他两个 cpu 发送 2 个子矩阵,它们计算它们并将它们返回给 cpu 调用者。当 cpu 调用者有其子矩阵时,它必须执行矩阵乘法。在递归方程中,瓶颈是矩阵乘法。我在 c 中用 mpi 实现了并行乘法,但我无法将它嵌入到函数中。可能吗?