|
SpM Handbook 1.3.0
|
#include <inttypes.h>#include "spm/config.h"Go to the source code of this file.
Macros | |
| #define | SPM_MPI_INT MPI_INT |
| The MPI type associated to spm_int_t. | |
| #define | SPM_INT_MAX INT_MAX |
| The maximum spm_int_t value. | |
Typedefs | |
| typedef int | spm_int_t |
| The main integer datatype used in spm arrays. | |
| typedef unsigned int | spm_uint_t |
| The main unsigned integer datatype used in spm arrays. | |
| typedef double | spm_fixdbl_t |
| Double datatype that is not converted through precision generator functions. | |
| typedef float _Complex | spm_complex32_t |
| The real complex arithmetic datatype. | |
| typedef double _Complex | spm_complex64_t |
| The double complex arithmetic datatype. | |
Functions | |
| static spm_int_t | spm_imin (spm_int_t a, spm_int_t b) |
| Internal function to compute min(a,b). | |
| static spm_int_t | spm_imax (spm_int_t a, spm_int_t b) |
| Internal function to compute max(a,b). | |
| static spm_int_t | spm_iceil (spm_int_t a, spm_int_t b) |
| Internal function to compute ceil(a,b). | |
| static size_t | spm_size_of (spm_coeftype_t type) |
| Double datatype that is not converted through precision generator functions. | |
Definitions of the datatypes used in SPM
Definition in file datatypes.h.
| typedef double spm_fixdbl_t |
Double datatype that is not converted through precision generator functions.
Definition at line 150 of file datatypes.h.
Internal function to compute min(a,b).
| [in] | a | |
| [in] | b |
Definition at line 97 of file datatypes.h.
Referenced by c_spm_get_diagonal_zeros_csx(), c_spmLaplacian_27points(), c_spmLaplacian_7points(), d_spm_get_diagonal_zeros_csx(), d_spmLaplacian_27points(), d_spmLaplacian_7points(), p_spmLaplacian_27points(), p_spmLaplacian_7points(), s_spm_get_diagonal_zeros_csx(), s_spmLaplacian_27points(), s_spmLaplacian_7points(), spm_create_loc2glob_continuous(), spmFindBase(), z_spm_get_diagonal_zeros_csx(), z_spmLaplacian_27points(), and z_spmLaplacian_7points().
Internal function to compute max(a,b).
| [in] | a | |
| [in] | b |
Definition at line 119 of file datatypes.h.
Referenced by c_spmGetDiagonalZeros(), d_spmGetDiagonalZeros(), s_spmGetDiagonalZeros(), spm_scatter_csx_send_generic(), spm_scatter_ijv_send(), spmCheckAxb(), spmExtractLocalRHS(), spmGatherRHS(), spmGenMat(), spmGenRHS(), spmGenVec(), spmMatMat(), spmParseLaplacianInfo(), spmReduceRHS(), spmSymmetrize(), and z_spmGetDiagonalZeros().
Internal function to compute ceil(a,b).
| [in] | a | |
| [in] | b |
Definition at line 141 of file datatypes.h.
|
static |
Double datatype that is not converted through precision generator functions.
These declarations will not clash with what C++ provides because the names in C++ are name-mangled.
| [in] | type | TODO |
| TODO |
Definition at line 209 of file datatypes.h.
References SpmComplex32, SpmComplex64, SpmDouble, SpmFloat, and SpmPattern.
Referenced by spm_load_local(), spm_redist_extract_local(), spm_redist_post_recv(), spm_redist_send(), spm_redist_send_loop_csx(), spm_redist_send_loop_ijv(), spm_scatter_csx_local_continuous(), spm_scatter_csx_local_generic(), spm_scatter_csx_send_continuous(), spm_scatter_csx_send_generic(), spm_scatter_ijv_local(), spm_scatter_ijv_remote(), spm_scatter_ijv_send(), spm_symm_local_add(), spmAlloc(), and spmCopy().