NTPoly
|
Module for load balancing the matrix multiplication calculation. More...
Data Types | |
type | permutation_t |
A data structure for storing permutations. More... | |
Functions/Subroutines | |
subroutine, public | constructdefaultpermutation (this, matrix_dimension) |
Constructs a permutation that preserves the original order. More... | |
subroutine, public | constructreversepermutation (this, matrix_dimension) |
Constructs a permutation that reverses the original order. More... | |
subroutine, public | constructrandompermutation (this, matrix_dimension) |
Constructs a permutation that has a random order. More... | |
pure subroutine, public | destructpermutation (this) |
Destruct a permutation object. More... | |
Module for load balancing the matrix multiplication calculation.
subroutine, public permutationmodule::constructdefaultpermutation | ( | type(permutation_t), intent(inout) | this, |
integer, intent(in) | matrix_dimension | ||
) |
Constructs a permutation that preserves the original order.
[in,out] | this | the permutation to construct. |
[in] | matrix_dimension | size of the matrix. |
subroutine, public permutationmodule::constructrandompermutation | ( | type(permutation_t), intent(inout) | this, |
integer, intent(in) | matrix_dimension | ||
) |
Constructs a permutation that has a random order.
[in,out] | this | the permutation to construct. |
[in] | matrix_dimension | size of the matrix. Implements Knuth shuffle. |
subroutine, public permutationmodule::constructreversepermutation | ( | type(permutation_t), intent(inout) | this, |
integer, intent(in) | matrix_dimension | ||
) |
Constructs a permutation that reverses the original order.
[in,out] | this | the permutation to construct. |
[in] | matrix_dimension | size of the matrix. |
pure subroutine, public permutationmodule::destructpermutation | ( | type(permutation_t), intent(inout) | this | ) |
Destruct a permutation object.
[in,out] | this | the permutation to destruct. |