include/ppu/moc.h File Reference

#include "moc_dma_ppu.h"
#include "moc_datatype_ppu.h"
#include "../moc.h"
#include <stdint.h>
#include <libspe2.h>

Include dependency graph for moc.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MOC_SPU_THREAD_MAX   8
 Maximum number of possible SPU-threads.

Functions

PPU-only
int MOC_Get_avail_spu_count (int *count)
 Returns the number of available SPUs.
int MOC_Get_max_spu_count (int *count)
 Returns the number of SPUs.
int MOC_Add_spu_thread (spe_program_handle_t *phandle, void *argp)
 Adds a SPU-Thread.
int MOC_Set_buffer_size (uint32_t size)
 Sets the size of the buffer used for buffered communication.
int MOC_Set_queue_size (uint8_t size)
 Sets the size of the message-queues.
int MOC_Init (int *argc, char ***argv)
 Initialize the MPI execution environment.


Define Documentation

#define MOC_SPU_THREAD_MAX   8

Maximum number of possible SPU-threads.

Definition at line 17 of file moc.h.

Referenced by MOC_Add_spu_thread().


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