mirror of
https://github.com/fverdugo/XM_40017.git
synced 2025-11-09 04:44:24 +01:00
Minor
This commit is contained in:
parent
f23deb1534
commit
9a8783181d
@ -241,8 +241,7 @@ function matmul_mpi_3!(C,A,B)
|
|||||||
MPI.Bcast!(myB,comm;root)
|
MPI.Bcast!(myB,comm;root)
|
||||||
L = div(N,P)
|
L = div(N,P)
|
||||||
# Tricky part
|
# Tricky part
|
||||||
# Scatter and gather work "row major"
|
# Julia works "col major"
|
||||||
# while Julia works "col major"
|
|
||||||
myAt = zeros(N,L)
|
myAt = zeros(N,L)
|
||||||
At = collect(transpose(A))
|
At = collect(transpose(A))
|
||||||
MPI.Scatter!(At,myAt,comm;root)
|
MPI.Scatter!(At,myAt,comm;root)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user