LoadBalancerModule Module

Module for load balancing the matrix multiplication calculation.



Contents


Subroutines

public subroutine PermuteMatrix(mat, mat_out, permutation, memorypool_in)

Apply a permutation to a matrix.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: mat

The matrix to permute.

type(Matrix_ps), intent(inout) :: mat_out

The permuted matrix.

type(Permutation_t), intent(in) :: permutation

The permutation to apply.

type(MatrixMemoryPool_p), intent(inout), optional :: memorypool_in

Memory pool to use

public subroutine UndoPermuteMatrix(mat, mat_out, permutation, memorypool_in)

Undo a permutation applied to a matrix.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: mat

Matrix to undo permutation of.

type(Matrix_ps), intent(inout) :: mat_out

Unpermuted matrix.

type(Permutation_t), intent(in) :: permutation

Permutation to remove.

type(MatrixMemoryPool_p), intent(inout), optional :: memorypool_in

Memory pool to use.