NewMadeleine

Documentation

toolbox.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for toolbox.h:

Go to the source code of this file.

Macros

#define TAG   1
 
#define TRUE   1
 
#define FALSE   0
 
#define PRINT_SUCCESS   0
 
#define VERBOSE   0
 
#define SMALL_SIZE   1000
 
#define LONG_SIZE   40000
 
#define DEFAULT_BLOCKS   3
 
#define ASYNC
 
#define PRINT(str, ...)   fprintf(stdout, str "\n", ## __VA_ARGS__)
 
#define PRINT_NO_NL(str, ...)   fprintf(stdout, str, ## __VA_ARGS__)
 

Enumerations

enum  MPIR_NODETYPE {
  MPIR_INT , MPIR_FLOAT , MPIR_DOUBLE , MPIR_COMPLEX ,
  MPIR_LONG , MPIR_SHORT , MPIR_CHAR , MPIR_BYTE ,
  MPIR_UCHAR , MPIR_USHORT , MPIR_ULONG , MPIR_UINT ,
  MPIR_CONTIG , MPIR_VECTOR , MPIR_HVECTOR , MPIR_INDEXED ,
  MPIR_HINDEXED , MPIR_STRUCT , MPIR_DOUBLE_COMPLEX , MPIR_PACKED ,
  MPIR_UB , MPIR_LB , MPIR_LONGDOUBLE , MPIR_LONGLONGINT ,
  MPIR_LOGICAL , MPIR_FORT_INT
}
 

Functions

int checkArguments (int argc, char **argv, int startPos, int *use_hindex, int *short_message, int *minSize, int *maxSize, int *stride, int *blocks, int *size, char *tests)
 

Macro Definition Documentation

◆ ASYNC

#define ASYNC

Definition at line 37 of file toolbox.h.

◆ DEFAULT_BLOCKS

#define DEFAULT_BLOCKS   3

Definition at line 35 of file toolbox.h.

◆ FALSE

#define FALSE   0

Definition at line 29 of file toolbox.h.

◆ LONG_SIZE

#define LONG_SIZE   40000

Definition at line 34 of file toolbox.h.

◆ PRINT

#define PRINT (   str,
  ... 
)    fprintf(stdout, str "\n", ## __VA_ARGS__)

Definition at line 70 of file toolbox.h.

◆ PRINT_NO_NL

#define PRINT_NO_NL (   str,
  ... 
)    fprintf(stdout, str, ## __VA_ARGS__)

Definition at line 71 of file toolbox.h.

◆ PRINT_SUCCESS

#define PRINT_SUCCESS   0

Definition at line 30 of file toolbox.h.

◆ SMALL_SIZE

#define SMALL_SIZE   1000

Definition at line 33 of file toolbox.h.

◆ TAG

#define TAG   1

Definition at line 27 of file toolbox.h.

◆ TRUE

#define TRUE   1

Definition at line 28 of file toolbox.h.

◆ VERBOSE

#define VERBOSE   0

Definition at line 31 of file toolbox.h.

Enumeration Type Documentation

◆ MPIR_NODETYPE

Enumerator
MPIR_INT 
MPIR_FLOAT 
MPIR_DOUBLE 
MPIR_COMPLEX 
MPIR_LONG 
MPIR_SHORT 
MPIR_CHAR 
MPIR_BYTE 
MPIR_UCHAR 
MPIR_USHORT 
MPIR_ULONG 
MPIR_UINT 
MPIR_CONTIG 
MPIR_VECTOR 
MPIR_HVECTOR 
MPIR_INDEXED 
MPIR_HINDEXED 
MPIR_STRUCT 
MPIR_DOUBLE_COMPLEX 
MPIR_PACKED 
MPIR_UB 
MPIR_LB 
MPIR_LONGDOUBLE 
MPIR_LONGLONGINT 
MPIR_LOGICAL 
MPIR_FORT_INT 

Definition at line 39 of file toolbox.h.

Function Documentation

◆ checkArguments()

int checkArguments ( int  argc,
char **  argv,
int  startPos,
int *  use_hindex,
int *  short_message,
int *  minSize,
int *  maxSize,
int *  stride,
int *  blocks,
int *  size,
char *  tests 
)