arch/ncube2/machine.c File Reference

Ncube2 machine layer. More...

Go to the source code of this file.
static int Cmi_dim
static int process
static int host
static int cflag
static int source
static int type
static double uclockinitvalue
 CpvDeclare (int, Cmi_mype)
 CpvDeclare (int, Cmi_numpes)
 CpvDeclare (void *, CmiLocalQueue)
double amicclk ()
void CmiAbort (const char *message)
 Serial version of common Charm++ routines:.
double CmiTimer ()
double CmiWallTimer ()
double CmiCpuTimer ()
static void CmiTimerInit ()
int CmiAsyncMsgSent (c)
void CmiReleaseCommHandle (c)
void * CmiGetNonLocal ()
void CmiNotifyIdle ()
 CmiSyncReceive (int size, char *buffer)
void CmiSyncSendFn (int destPE, int size, char *msg)
CmiCommHandle CmiAsyncSendFn (int destPE, int size, char *msg)
void CmiFreeSendFn (int destPE, int size, char *msg)
void CmiSyncBroadcastFn (int size, char *msg)
CmiCommHandle CmiAsyncBroadcastFn (int size, char *msg)
void CmiFreeBroadcastFn (int size, char *msg)
void CmiSyncBroadcastAllFn (int size, char *msg)
CmiCommHandle CmiAsyncBroadcastAllFn (int size, char *msg)
void CmiFreeBroadcastAllFn (int size, char *msg)
void ConverseExit ()
void ConverseInit (int argc, argv, CmiStartFn fn, int usched, int initret)


Detailed Description

Ncube2 machine layer.

Definition in file machine.c.


Function Documentation

CpvDeclare ( int  ,
Cmi_mype   
)

CpvDeclare ( int  ,
Cmi_numpes   
)

CpvDeclare ( void *  ,
CmiLocalQueue   
)

double amicclk (  ) 

Referenced by CmiCpuTimer(), CmiTimer(), CmiTimerInit(), and CmiWallTimer().

void CmiAbort ( const char *  message  ) 

Serial version of common Charm++ routines:.

Currently only used for FEM_ALONE mode.

Orion Sky Lawlor, olawlor@acm.org, 2003/8/15

Definition at line 38 of file machine.c.

References CmiError().

static void CmiTimerInit ( void   )  [static]

Definition at line 61 of file machine.c.

References amicclk(), and uclockinitvalue.

int CmiAsyncMsgSent ( c   ) 

Definition at line 66 of file machine.c.

void CmiReleaseCommHandle ( c   ) 

Definition at line 73 of file machine.c.

void* CmiGetNonLocal ( void   ) 

Definition at line 83 of file machine.c.

References CmiAlloc(), CmiPrintf(), CmiSyncReceive(), source, and type.

void CmiNotifyIdle ( void   ) 

Definition at line 103 of file machine.c.

CmiSyncReceive ( int  size,
char *  buffer 
)

Definition at line 111 of file machine.c.

References cflag, source, and type.

Referenced by CmiGetNonLocal().

void CmiSyncSendFn ( int  destPE,
int  size,
char *  msg 
)

Definition at line 121 of file machine.c.

References CdsFifo_Enqueue(), cflag, CmiAlloc(), CQdCreate(), and size.

CmiCommHandle CmiAsyncSendFn ( int  destPE,
int  size,
char *  msg 
)

Definition at line 139 of file machine.c.

References cflag, CQdCreate(), and size.

void CmiFreeSendFn ( int  destPE,
int  size,
char *  msg 
)

Definition at line 150 of file machine.c.

References CdsFifo_Enqueue(), cflag, CmiFree(), and CQdCreate().

void CmiSyncBroadcastFn ( int  size,
char *  msg 
)

Definition at line 167 of file machine.c.

References cflag, and CQdCreate().

CmiCommHandle CmiAsyncBroadcastFn ( int  size,
char *  msg 
)

Definition at line 180 of file machine.c.

References cflag, and CQdCreate().

void CmiFreeBroadcastFn ( int  size,
char *  msg 
)

Definition at line 194 of file machine.c.

References CmiFree(), and CmiSyncBroadcastFn().

void CmiSyncBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 202 of file machine.c.

References cflag, CQdCreate(), and dest.

CmiCommHandle CmiAsyncBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 212 of file machine.c.

References cflag, CQdCreate(), and dest.

void CmiFreeBroadcastAllFn ( int  size,
char *  msg 
)

Definition at line 222 of file machine.c.

References cflag, CmiFree(), CQdCreate(), and dest.

void ConverseExit ( void   ) 

Definition at line 238 of file machine.c.

References ConverseCommonExit().

void ConverseInit ( int  argc,
argv  ,
CmiStartFn  fn,
int  usched,
int  initret 
)

Definition at line 244 of file machine.c.

References CdsFifo_Create(), Cmi_dim, CmiTimerInit(), ConverseCommonInit(), ConverseExit(), CsdScheduler(), CthInit(), host, and process.


Variable Documentation

int Cmi_dim [static]

Definition at line 26 of file machine.c.

int process [static]

Definition at line 28 of file machine.c.

Referenced by CMI_VMI_CmiFree(), CMI_VMI_Common_Receive(), CMI_VMI_Connection_Response_Handler(), CMI_VMI_Disconnection_Handler(), CMI_VMI_Disconnection_Response_Handler(), CMI_VMI_Eager_Long_Setup(), CMI_VMI_Eager_Short_Setup(), CMI_VMI_Open_Connection(), CMI_VMI_Open_Connections(), CMI_VMI_RDMA_Get_Completion_Handler(), CMI_VMI_RDMA_Publish_Notification_Handler(), CMI_VMI_RDMA_Put_Notification_Handler(), CMI_VMI_Stream_Notification_Handler(), CmiAsyncSendFn(), CmiFreeSendFn(), CmiGetCluster(), CmiGetNonLocal(), CmiNotifyIdle(), CmiSyncSendFn(), and ConverseInit().

int host [static]

Definition at line 28 of file machine.c.

Referenced by arg_init(), ConverseInit(), and main().

int cflag [static]

Definition at line 28 of file machine.c.

Referenced by CmiAsyncBroadcastAllFn(), CmiAsyncBroadcastFn(), CmiAsyncSendFn(), CmiFreeBroadcastAllFn(), CmiFreeSendFn(), CmiSyncBroadcastAllFn(), CmiSyncBroadcastFn(), CmiSyncReceive(), CmiSyncSendFn(), chunk::Delete_Min(), Element_Bucket::Delete_Min(), and FEM_Adapt_Algs::Delete_Min().

int source [static]

Definition at line 28 of file machine.c.

Referenced by AMPI_Sendrecv_replace(), CmiGetNonLocal(), CmiSyncReceive(), derive_shared_nodes(), receiver::irecv(), NetFEM_Begin(), and ParFUM_recreateSharedNodes().

int type [static]

Definition at line 28 of file machine.c.

double uclockinitvalue [static]

Definition at line 29 of file machine.c.

Referenced by CmiCpuTimer(), CmiTimer(), CmiTimerInit(), and CmiWallTimer().


Generated on Sun Jun 29 13:29:32 2008 for Charm++ by  doxygen 1.5.1