SpM Handbook 1.2.4
|
#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 |
typedef double _Complex | spm_complex64_t |
typedef struct spmatrix_s | spmatrix_t |
Type alias to the spmatrix_s structure. | |
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.
typedef float _Complex spm_complex32_t |
Complex numbers (Extracted from PaRSEC project)
Definition at line 161 of file datatypes.h.
typedef double _Complex spm_complex64_t |
Definition at line 162 of file datatypes.h.
typedef struct spmatrix_s spmatrix_t |
Type alias to the spmatrix_s structure.
Definition at line 234 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_spmLaplacian_27points(), c_spmLaplacian_7points(), d_spmLaplacian_27points(), d_spmLaplacian_7points(), p_spmLaplacian_27points(), p_spmLaplacian_7points(), s_spmLaplacian_27points(), s_spmLaplacian_7points(), spm_create_loc2glob_continuous(), spmFindBase(), 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 spm_scatter_csx_send_generic(), spm_scatter_ijv_send(), spmCheckAxb(), spmExtractLocalRHS(), spmGatherRHS(), spmGenMat(), spmGenRHS(), spmGenVec(), spmMatMat(), spmParseLaplacianInfo(), spmReduceRHS(), and spmSymmetrize().
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().