PIPS
step_api.h File Reference
#include <stdarg.h>
#include <stdint.h>
#include <stddef.h>
#include "step_common.h"
+ Include dependency graph for step_api.h:

Go to the source code of this file.

Macros

#define STEP_ARG   int32_t
 
#define STEP_API(name)   name##_
 
#define STEP_INIT_FORTRAN_ORDER   STEP_API(step_init_fortran_order)
 
#define STEP_INIT_C_ORDER   STEP_API(step_init_c_order)
 
#define STEP_FINALIZE   STEP_API(step_finalize)
 
#define STEP_GET_COMMSIZE   STEP_API(step_get_commsize)
 
#define STEP_GET_RANK   STEP_API(step_get_rank)
 
#define STEP_FLUSH   STEP_API(step_flush)
 
#define STEP_REDUCTION   STEP_API(step_reduction)
 

Functions

void STEP_API() step_init_fortran_order (void)
 
void STEP_API() step_init_c_order (void)
 
void STEP_API() step_finalize (void)
 
void STEP_API() step_get_commsize (STEP_ARG *size)
 
void STEP_API() step_get_rank (STEP_ARG *rank)
 
void STEP_API() step_construct_begin (const STEP_ARG *construction)
 
void STEP_CONSTRUCT_BEGIN (const STEP_ARG construction)
 
void STEP_API() step_construct_end (const STEP_ARG *construction)
 
void STEP_CONSTRUCT_END (const STEP_ARG construction)
 
void STEP_API() step_compute_loopslices (STEP_ARG *begin, STEP_ARG *end, STEP_ARG *incr, STEP_ARG *nb_workchunk)
 
void STEP_COMPUTE_LOOPSLICES (STEP_ARG begin, STEP_ARG end, STEP_ARG incr, STEP_ARG nb_workchunk)
 
void STEP_API() step_get_loopbounds (STEP_ARG *id_workchunk, STEP_ARG *begin, STEP_ARG *end)
 
void STEP_GET_LOOPBOUNDS (STEP_ARG id_workchunk, STEP_ARG *begin, STEP_ARG *end)
 
void STEP_API() step_init_arrayregions (void *array, STEP_ARG *type, STEP_ARG *dim,...)
 
void STEP_INIT_ARRAYREGIONS (void *array, STEP_ARG type, STEP_ARG dim,...)
 
void STEP_API() step_set_sendregions (void *array, STEP_ARG *nb_workchunk, STEP_ARG *regions)
 
void STEP_SET_SENDREGIONS (void *array, STEP_ARG nb_workchunk, STEP_ARG *regions)
 
void STEP_API() step_set_interlaced_sendregions (void *array, STEP_ARG *nb_workchunk, STEP_ARG *regions)
 
void STEP_SET_INTERLACED_SENDREGIONS (void *array, STEP_ARG nb_workchunk, STEP_ARG *regions)
 
void STEP_API() step_set_reduction_sendregions (void *array, STEP_ARG *nb_workchunk, STEP_ARG *regions)
 
void STEP_SET_REDUCTION_SENDREGIONS (void *array, STEP_ARG nb_workchunk, STEP_ARG *regions)
 
void STEP_API() step_set_recvregions (void *array, STEP_ARG *nb_workchunk, STEP_ARG *regions)
 
void STEP_SET_RECVREGIONS (void *array, STEP_ARG nb_workchunk, STEP_ARG *regions)
 
void STEP_API() step_register_alltoall_partial (void *userArray, STEP_ARG *algorithm, STEP_ARG *tag)
 
void STEP_REGISTER_ALLTOALL_PARTIAL (void *userArray, STEP_ARG algorithm, STEP_ARG tag)
 
void STEP_API() step_alltoall_full (void *array, STEP_ARG *algorithm, STEP_ARG *tag)
 
void STEP_ALLTOALL_FULL (void *array, STEP_ARG algorithm, STEP_ARG tag)
 
void STEP_API() step_alltoall_full_interlaced (void *array, STEP_ARG *algorithm, STEP_ARG *tag)
 
void STEP_ALLTOALL_FULL_INTERLACED (void *array, STEP_ARG algorithm, STEP_ARG tag)
 
void STEP_API() step_alltoall_partial (void *array, STEP_ARG *algorithm, STEP_ARG *tag)
 
void STEP_ALLTOALL_PARTIAL (void *array, STEP_ARG algorithm, STEP_ARG tag)
 
void STEP_API() step_alltoall_partial_interlaced (void *array, STEP_ARG *algorithm, STEP_ARG *tag)
 
void STEP_ALLTOALL_PARTIAL_INTERLACED (void *array, STEP_ARG algorithm, STEP_ARG tag)
 
void STEP_API() step_alltoall (STEP_ARG *algorithm, STEP_ARG *tag)
 
void STEP_ALLTOALL (STEP_ARG algorithm, STEP_ARG tag)
 
void STEP_API() step_flush (void)
 Semble ne plus être utilisé lors de la génération du code par STEP. More...
 
void STEP_API() step_barrier (void)
 
void STEP_API() step_initreduction (void *variable, STEP_ARG *op, STEP_ARG *type)
 Conflit de nommage avec la marco specifiant le type de construction. More...
 
void STEP_INITREDUCTION (void *variable, STEP_ARG op, STEP_ARG type)
 
void STEP_API() step_reduction (void *variable)
 
void STEP_API() step_timer_init (size_t *timer_)
 
void STEP_API() step_timer_event (size_t *timer_)
 
void STEP_API() step_timer_dump (size_t *timer_, char *filename, STEP_ARG *id_file, STEP_ARG filename_len)
 
void STEP_API() step_timer_reset (size_t *timer_)
 
void STEP_API() step_timer_finalize (size_t *timer_)
 

Macro Definition Documentation

◆ STEP_API

#define STEP_API (   name)    name##_

Definition at line 13 of file step_api.h.

◆ STEP_ARG

#define STEP_ARG   int32_t

Definition at line 10 of file step_api.h.

◆ STEP_FINALIZE

#define STEP_FINALIZE   STEP_API(step_finalize)

Definition at line 20 of file step_api.h.

◆ STEP_FLUSH

#define STEP_FLUSH   STEP_API(step_flush)

Definition at line 67 of file step_api.h.

◆ STEP_GET_COMMSIZE

#define STEP_GET_COMMSIZE   STEP_API(step_get_commsize)

Definition at line 23 of file step_api.h.

◆ STEP_GET_RANK

#define STEP_GET_RANK   STEP_API(step_get_rank)

Definition at line 25 of file step_api.h.

◆ STEP_INIT_C_ORDER

#define STEP_INIT_C_ORDER   STEP_API(step_init_c_order)

Definition at line 18 of file step_api.h.

◆ STEP_INIT_FORTRAN_ORDER

#define STEP_INIT_FORTRAN_ORDER   STEP_API(step_init_fortran_order)

Definition at line 16 of file step_api.h.

◆ STEP_REDUCTION

#define STEP_REDUCTION   STEP_API(step_reduction)

Definition at line 75 of file step_api.h.

Function Documentation

◆ step_alltoall()

void STEP_API() step_alltoall ( STEP_ARG algorithm,
STEP_ARG tag 
)

◆ STEP_ALLTOALL()

void STEP_ALLTOALL ( STEP_ARG  algorithm,
STEP_ARG  tag 
)

◆ step_alltoall_full()

void STEP_API() step_alltoall_full ( void *  array,
STEP_ARG algorithm,
STEP_ARG tag 
)

◆ STEP_ALLTOALL_FULL()

void STEP_ALLTOALL_FULL ( void *  array,
STEP_ARG  algorithm,
STEP_ARG  tag 
)

◆ step_alltoall_full_interlaced()

void STEP_API() step_alltoall_full_interlaced ( void *  array,
STEP_ARG algorithm,
STEP_ARG tag 
)

◆ STEP_ALLTOALL_FULL_INTERLACED()

void STEP_ALLTOALL_FULL_INTERLACED ( void *  array,
STEP_ARG  algorithm,
STEP_ARG  tag 
)

◆ step_alltoall_partial()

void STEP_API() step_alltoall_partial ( void *  array,
STEP_ARG algorithm,
STEP_ARG tag 
)

◆ STEP_ALLTOALL_PARTIAL()

void STEP_ALLTOALL_PARTIAL ( void *  array,
STEP_ARG  algorithm,
STEP_ARG  tag 
)

◆ step_alltoall_partial_interlaced()

void STEP_API() step_alltoall_partial_interlaced ( void *  array,
STEP_ARG algorithm,
STEP_ARG tag 
)

◆ STEP_ALLTOALL_PARTIAL_INTERLACED()

void STEP_ALLTOALL_PARTIAL_INTERLACED ( void *  array,
STEP_ARG  algorithm,
STEP_ARG  tag 
)

◆ step_barrier()

void STEP_API() step_barrier ( void  )

◆ step_compute_loopslices()

void STEP_API() step_compute_loopslices ( STEP_ARG begin,
STEP_ARG end,
STEP_ARG incr,
STEP_ARG nb_workchunk 
)

◆ STEP_COMPUTE_LOOPSLICES()

void STEP_COMPUTE_LOOPSLICES ( STEP_ARG  begin,
STEP_ARG  end,
STEP_ARG  incr,
STEP_ARG  nb_workchunk 
)

◆ step_construct_begin()

void STEP_API() step_construct_begin ( const STEP_ARG construction)

◆ STEP_CONSTRUCT_BEGIN()

void STEP_CONSTRUCT_BEGIN ( const STEP_ARG  construction)

◆ step_construct_end()

void STEP_API() step_construct_end ( const STEP_ARG construction)

◆ STEP_CONSTRUCT_END()

void STEP_CONSTRUCT_END ( const STEP_ARG  construction)

◆ step_finalize()

void STEP_API() step_finalize ( void  )

◆ step_flush()

void STEP_API() step_flush ( void  )

Semble ne plus être utilisé lors de la génération du code par STEP.

◆ step_get_commsize()

void STEP_API() step_get_commsize ( STEP_ARG size)

◆ step_get_loopbounds()

void STEP_API() step_get_loopbounds ( STEP_ARG id_workchunk,
STEP_ARG begin,
STEP_ARG end 
)

◆ STEP_GET_LOOPBOUNDS()

void STEP_GET_LOOPBOUNDS ( STEP_ARG  id_workchunk,
STEP_ARG begin,
STEP_ARG end 
)

◆ step_get_rank()

void STEP_API() step_get_rank ( STEP_ARG rank)

◆ step_init_arrayregions()

void STEP_API() step_init_arrayregions ( void *  array,
STEP_ARG type,
STEP_ARG dim,
  ... 
)

◆ STEP_INIT_ARRAYREGIONS()

void STEP_INIT_ARRAYREGIONS ( void *  array,
STEP_ARG  type,
STEP_ARG  dim,
  ... 
)

◆ step_init_c_order()

void STEP_API() step_init_c_order ( void  )

◆ step_init_fortran_order()

void STEP_API() step_init_fortran_order ( void  )

◆ step_initreduction()

void STEP_API() step_initreduction ( void *  variable,
STEP_ARG op,
STEP_ARG type 
)

Conflit de nommage avec la marco specifiant le type de construction.

◆ STEP_INITREDUCTION()

void STEP_INITREDUCTION ( void *  variable,
STEP_ARG  op,
STEP_ARG  type 
)

◆ step_reduction()

void STEP_API() step_reduction ( void *  variable)

◆ step_register_alltoall_partial()

void STEP_API() step_register_alltoall_partial ( void *  userArray,
STEP_ARG algorithm,
STEP_ARG tag 
)

◆ STEP_REGISTER_ALLTOALL_PARTIAL()

void STEP_REGISTER_ALLTOALL_PARTIAL ( void *  userArray,
STEP_ARG  algorithm,
STEP_ARG  tag 
)

◆ step_set_interlaced_sendregions()

void STEP_API() step_set_interlaced_sendregions ( void *  array,
STEP_ARG nb_workchunk,
STEP_ARG regions 
)

◆ STEP_SET_INTERLACED_SENDREGIONS()

void STEP_SET_INTERLACED_SENDREGIONS ( void *  array,
STEP_ARG  nb_workchunk,
STEP_ARG regions 
)

◆ step_set_recvregions()

void STEP_API() step_set_recvregions ( void *  array,
STEP_ARG nb_workchunk,
STEP_ARG regions 
)

◆ STEP_SET_RECVREGIONS()

void STEP_SET_RECVREGIONS ( void *  array,
STEP_ARG  nb_workchunk,
STEP_ARG regions 
)

◆ step_set_reduction_sendregions()

void STEP_API() step_set_reduction_sendregions ( void *  array,
STEP_ARG nb_workchunk,
STEP_ARG regions 
)

◆ STEP_SET_REDUCTION_SENDREGIONS()

void STEP_SET_REDUCTION_SENDREGIONS ( void *  array,
STEP_ARG  nb_workchunk,
STEP_ARG regions 
)

◆ step_set_sendregions()

void STEP_API() step_set_sendregions ( void *  array,
STEP_ARG nb_workchunk,
STEP_ARG regions 
)

◆ STEP_SET_SENDREGIONS()

void STEP_SET_SENDREGIONS ( void *  array,
STEP_ARG  nb_workchunk,
STEP_ARG regions 
)

◆ step_timer_dump()

void STEP_API() step_timer_dump ( size_t timer_,
char *  filename,
STEP_ARG id_file,
STEP_ARG  filename_len 
)

◆ step_timer_event()

void STEP_API() step_timer_event ( size_t timer_)

◆ step_timer_finalize()

void STEP_API() step_timer_finalize ( size_t timer_)

◆ step_timer_init()

void STEP_API() step_timer_init ( size_t timer_)

◆ step_timer_reset()

void STEP_API() step_timer_reset ( size_t timer_)