Miscellaneous of functions act to find the processors distribution. More...
#include "al_hidden.h"
Functions | |
int | AL_Decomp_2d_ (int nproc, int npdim, int *ldims, int *gdims) |
int | AL_Decomp_3d_ (int nproc, int npdim, int *ldims, int *gdims) |
int | AL_Auto_Decomp_ (int nproc, int npdim, int *ldims, int *gdims) |
Find a "maximally cubic" processors distribution in 1D, 2D and 3D.
int AL_Auto_Decomp_ | ( | int | nproc, |
int | npdim, | ||
int * | ldims, | ||
int * | gdims | ||
) |
Find a "maximally cubic" processors distribution.
[in] | nproc | number of processors |
[in] | npdim | number of parallel dimensions |
[out] | ldims | processor decomposition along directions |
[in] | gdims | global array sizes |
int AL_Decomp_2d_ | ( | int | nproc, |
int | npdim, | ||
int * | ldims, | ||
int * | gdims | ||
) |
Find a "maximally cubic" processors distribution in 2D.
[in] | nproc | number of processors |
[in] | npdim | number of parallel dimensions |
[out] | ldims | processor decomposition along directions |
[in] | gdims | global array sizes |
int AL_Decomp_3d_ | ( | int | nproc, |
int | npdim, | ||
int * | ldims, | ||
int * | gdims | ||
) |
Find a "maximally cubic" processors distribution in 3D.
[in] | nproc | number of processors |
[in] | npdim | number of parallel dimensions |
[out] | ldims | processor decomposition along directions |
[in] | gdims | global array sizes |