|
| blacs_context (const char order) |
|
| blacs_context (const IT rows, const IT cols, const char order='R') |
|
| blacs_context (const blacs_context &)=delete |
|
| blacs_context (blacs_context &&) noexcept=delete |
|
blacs_context & | operator= (const blacs_context &)=delete |
|
blacs_context & | operator= (blacs_context &&) noexcept=delete |
|
auto | desc_g (const IT num_rows, const IT num_cols) |
| Generates a descriptor for a global matrix.
|
|
auto | desc_l (const IT num_rows, const IT num_cols, const IT row_block, const IT col_block, const IT lead) |
| Generates a descriptor for a local matrix.
|
|
auto | desc_l (const IT num_rows, const IT num_cols, const IT block, const IT lead) |
|
template<data_t DT> |
auto | scatter (const full_mat< DT, IT > &A, const desc< IT > &desc_a, std::vector< DT > &B, const desc< IT > &desc_b) |
|
template<data_t DT> |
auto | gather (const std::vector< DT > &A, const desc< IT > &desc_a, const full_mat< DT, IT > &B, const desc< IT > &desc_b) |
|
bool | is_valid () const |
|
auto | row_block (const IT n) const |
| Computes the row block size.
|
|
auto | col_block (const IT n) const |
| Computes the column block size.
|
|
auto | rows (const IT n, const IT nb) const |
| Computes the number of local rows of the current process.
|
|
auto | cols (const IT n, const IT nb) const |
| Computes the number of local columns of the current process.
|
|
IT | amx (IT number) const |
| Perform the global amx operation.
|
|
IT | amn (IT number) const |
| Perform the global amn operation.
|
|
Perform the global amn operation.
This function takes an integer number, which may be different on each process, and computes the minimum value across all processes. The result is broadcast to all processes.
For example, if the input number is 0, 1, 2, 3 on four processes, this function will return 0 on all processes.
- Parameters
-
number | The integer number to be updated. |
- Returns
- The updated integer number.
Perform the global amx operation.
This function takes an integer number, which may be different on each process, and computes the maximum value across all processes. The result is broadcast to all processes.
For example, if the input number is 0, 1, 2, 3 on four processes, this function will return 3 on all processes.
- Parameters
-
number | The integer number to be updated. |
- Returns
- The updated integer number.