Module for load balancing the matrix multiplication calculation.
More...
|
subroutine, public | permutematrix (mat_in, mat_out, permutation, memorypool_in) |
| Apply a permutation to a matrix. More...
|
|
subroutine, public | undopermutematrix (mat_in, mat_out, permutation, memorypool_in) |
| Undo a permutation applied to a matrix. More...
|
|
Module for load balancing the matrix multiplication calculation.
◆ permutematrix()
subroutine, public loadbalancermodule::permutematrix |
( |
type(distributedsparsematrix_t), intent(in) |
mat_in, |
|
|
type(distributedsparsematrix_t), intent(inout) |
mat_out, |
|
|
type(permutation_t), intent(in) |
permutation, |
|
|
type(distributedmatrixmemorypool_t), intent(inout), optional |
memorypool_in |
|
) |
| |
Apply a permutation to a matrix.
- Parameters
-
[in] | mat_in | matrix to permute. |
[out] | mat_out | permuted matrix. |
[in] | permutation | to apply. |
[in,out] | memorypool_in | memory pool to use. Optional. |
◆ undopermutematrix()
subroutine, public loadbalancermodule::undopermutematrix |
( |
type(distributedsparsematrix_t), intent(in) |
mat_in, |
|
|
type(distributedsparsematrix_t), intent(inout) |
mat_out, |
|
|
type(permutation_t), intent(in) |
permutation, |
|
|
type(distributedmatrixmemorypool_t), intent(inout), optional |
memorypool_in |
|
) |
| |
Undo a permutation applied to a matrix.
- Parameters
-
[in] | mat_in | matrix to undo permutation of. |
[out] | mat_out | unpermuted matrix. |
[in] | permutation | to remove. |
[in,out] | memorypool_in | memory pool to use. Optional. |