Module for load balancing the matrix multiplication calculation.
Apply a permutation to a matrix.
Type | Intent | Optional | 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 |
Undo a permutation applied to a matrix.
Type | Intent | Optional | 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. |