libxmp/libxmpf in Omni Compiler  1.3.4
xmp_tca_runtime.c File Reference
#include "xmp_internal.h"
#include "tca-api.h"
Include dependency graph for xmp_tca_runtime.c:

Functions

void _XMP_init_tca (void)
 
void _XMP_alloc_tca (_XMP_array_t *adesc)
 

Function Documentation

◆ _XMP_alloc_tca()

void _XMP_alloc_tca ( _XMP_array_t adesc)
12 {
13  adesc->set_handle = _XMP_N_INT_FALSE;
14  int array_dim = adesc->dim;
15  for (int i = 0; i < array_dim; i++) {
16  _XMP_array_info_t *ai = &(adesc->info[i]);
18  continue;
20  }
21 
22  adesc->wait_slot = 0; // No change ?
23  adesc->wait_tag = 0x100; // No change ?
24 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _XMP_init_tca()

void _XMP_init_tca ( void  )
5 {
6  if (_XMP_world_size > 16)
7  _XMP_fatal("TCA reflect has been not implemented in 16 more than nodes.");
8  TCA_CHECK(tcaInit());
9 }
Here is the call graph for this function:
_XMP_alloc
void * _XMP_alloc(size_t size)
Definition: xmp_util.c:21
_XMP_array_info_type
Definition: xmp_data_struct.h:194
_XMP_array_info_type::reflect_acc_sched
_XMP_reflect_sched_t * reflect_acc_sched
Definition: xmp_data_struct.h:253
_XMP_world_size
int _XMP_world_size
Definition: xmp_world.c:8
_XMP_array_info_type::shadow_type
int shadow_type
Definition: xmp_data_struct.h:248
_XMP_reflect_sched_type
Definition: xmp_data_struct.h:119
_XMP_N_INT_FALSE
#define _XMP_N_INT_FALSE
Definition: xmp_constant.h:5
_XMP_array_type::info
_XMP_array_info_t info[1]
Definition: xmp_data_struct.h:313
_XMP_array_type::dim
int dim
Definition: xmp_data_struct.h:272
_XMP_fatal
void _XMP_fatal(char *msg)
Definition: xmp_util.c:42
_XMP_N_SHADOW_NONE
#define _XMP_N_SHADOW_NONE
Definition: xmp_constant.h:64