#ifndef MOC_H_SPU #define MOC_H_SPU #include "moc_dma_spu.h" #include "moc_datatype_spu.h" #include "../moc.h" #include /** * \addtogroup environment_startup **/ //@{ /** * @name SPU-only **/ //@{ /** * Initialize the MPI execution environment. * * \anchor moc_init_spu * * \attention SPU-only function * * \note All processes must call this routine before executing any MOC-routine. * * \todo Copying of user-defined information from main-memory to local buffer not implemented * * \param argp \b in Pointer to user-defined information in the main-memory * \param length \b in Length of the user-defined information in bytes * \param buffer \b out Buffer into which the user-defined information should be copied * \retval MOC_SUCCESS No error; MPI routine completed successfully. * \retval MOC_ERR_NO_MEMORY Insufficient Memory. * \retval MOC_ERR_INTERN Internal Error **/ int MOC_Init (unsigned long long argp, int length, void* buffer); //@} //@} #endif /*MOC_H_*/