ReduceAndComposeMatrix Interface

public interface ReduceAndComposeMatrix

Contents


Module Procedures

private subroutine ReduceAndComposeMatrix_lsr(matrix, gathered_matrix, comm)

Reduce and sum the matrices in one step. If you use this method, you lose the opportunity for overlapping communication.

Arguments

Type IntentOptional AttributesName
type(Matrix_lsr), intent(in) :: matrix

The matrix to send.

type(Matrix_lsr), intent(inout) :: gathered_matrix

The matrix we are gathering.

integer, intent(inout) :: comm

The communicator to send along.

private subroutine ReduceAndComposeMatrix_lsc(matrix, gathered_matrix, comm)

Reduce and sum the matrices in one step. If you use this method, you lose the opportunity for overlapping communication.

Arguments

Type IntentOptional AttributesName
type(Matrix_lsc), intent(in) :: matrix

The matrix to send.

type(Matrix_lsc), intent(inout) :: gathered_matrix

The matrix we are gathering.

integer, intent(inout) :: comm

The communicator to send along.