Go to the documentation of this file.
22 #define AL_Datatype MPI_Datatype
25 #define AL_STAGGERED_OVERLAP 1
33 #define AL_ALLOC_(nelem,size) malloc((nelem)*(size))
34 #define AL_CALLOC_(nelem,size) calloc((nelem),(size))
42 #define AL_FREE_(ptr) free((ptr))
48 #define AL_POWEROF2(x) ((((x)-1)&(x))==0)
54 #define AL_ISEVEN ((x)-(x)/2*2)
55 #define AL_ISODD ((x)/2*2-(x)+1)
60 #define AL_ISMAX(a,b) ((a) > (b) ? (a) : (b))
61 #define AL_ISMIN(a,b) ((a) < (b) ? (a) : (b))