Implementation Information
[Environmental Management]

Collaboration diagram for Implementation Information:

Detailed Description

Functions to return some information about the execution environment and the MOC-implementation.


Defines

#define MOC_VERSION   0
 Major version-number of this MOC-Implementation.
#define MOC_SUBVERSION   9
 Minor version-number of this MOC-Implementation.
#define MOC_MAX_PROCESSOR_NAME   4
 The maximum length of the string returned by MOC_Get_processor_name.

Functions

int MOC_Get_processor_name (char *name, int *resultlen)
 Gets the name of the processor.
int MOC_Get_version (int *version, int *subversion)
 Returns the major and minor version of this MOC-implementation.


Function Documentation

int MOC_Get_processor_name ( char *  name,
int *  resultlen 
)

Gets the name of the processor.

Note:
This function returns "SPU" if the calling process is running on a SPU otherwise it's running on the "PPU".
Parameters:
name out Specifies the processor-type the calling process is runnning on
resultlen out Length (in characters) of the name
Return values:
MOC_SUCCESS No error; MPI routine completed successfully.

int MOC_Get_version ( int *  version,
int *  subversion 
)

Returns the major and minor version of this MOC-implementation.

Note:
Can be called before MOC_Init and after MOC_Finalize.
Parameters:
version out Major version of this MOC-implementation
subversion out Minor version of this MOC-implementation
Return values:
MOC_SUCCESS Function returned successfully


Generated on Thu Feb 12 13:48:17 2009 for MPI On Cell (Documentation) by  doxygen 1.5.6