#include <sys/types.h>


Go to the source code of this file.
Classes | |
| struct | SPECommand |
| struct | SPEMatrix |
| struct | SPEProfile |
| struct | SPESequence |
Defines | |
| #define | __ALIGNED__ __attribute__((__aligned__(16))) |
| #define | ALIGN16(x) (((x)+15)&(-16)) |
| #define | ALIGN32(x) (((x)+31)&(-32)) |
| #define | MAX_TRANSFER 16384 |
| #define | SPE_ALIGNMENT_PROFILE 16 |
| #define | SPE_ALIGNMENT_TYPE_BYTE 1 |
| #define | SPE_ALIGNMENT_TYPE_DOUBLE 5 |
| #define | SPE_ALIGNMENT_TYPE_FLOAT 4 |
| #define | SPE_ALIGNMENT_TYPE_INT 3 |
| #define | SPE_ALIGNMENT_TYPE_MASK 0xf |
| #define | SPE_ALIGNMENT_TYPE_SHORT 2 |
| #define | TOTAL_MEMORY 200000 |
Typedefs | |
| typedef unsigned long long | ppu_addr_t |
Enumerations | |
| enum | SPECommands { SPE_CMD_INIT, SPE_CMD_CREATE_PROFILE, SPE_CMD_PUT_PROFILE, SPE_CMD_GET_PROFILE, SPE_CMD_ALIGN } |
| enum | SPEDatatypes { SPE_DATA_INT8 = 0, SPE_DATA_INT16 = 1, SPE_DATA_INT32 = 2, SPE_DATA_FLOAT = 3, SPE_DATA_DOUBLE = 4 } |
Functions | |
| void * | alloc (int n) |
| int | memRemaining () |
| void | reset () |
Variables | |
| static const int | dataSize [5] = {1,2,4,sizeof(float),sizeof(double)} |
Definition in file DynProgr_SPE.h.
| #define __ALIGNED__ __attribute__((__aligned__(16))) |
| #define ALIGN16 | ( | x | ) | (((x)+15)&(-16)) |
Definition at line 43 of file DynProgr_SPE.h.
| #define ALIGN32 | ( | x | ) | (((x)+31)&(-32)) |
Definition at line 44 of file DynProgr_SPE.h.
| #define MAX_TRANSFER 16384 |
| #define SPE_ALIGNMENT_PROFILE 16 |
Definition at line 57 of file DynProgr_SPE.h.
| #define SPE_ALIGNMENT_TYPE_BYTE 1 |
Definition at line 54 of file DynProgr_SPE.h.
| #define SPE_ALIGNMENT_TYPE_DOUBLE 5 |
Definition at line 50 of file DynProgr_SPE.h.
| #define SPE_ALIGNMENT_TYPE_FLOAT 4 |
Definition at line 51 of file DynProgr_SPE.h.
| #define SPE_ALIGNMENT_TYPE_INT 3 |
Definition at line 52 of file DynProgr_SPE.h.
| #define SPE_ALIGNMENT_TYPE_MASK 0xf |
Definition at line 49 of file DynProgr_SPE.h.
| #define SPE_ALIGNMENT_TYPE_SHORT 2 |
Definition at line 53 of file DynProgr_SPE.h.
| #define TOTAL_MEMORY 200000 |
| typedef unsigned long long ppu_addr_t |
Definition at line 59 of file DynProgr_SPE.h.
| enum SPECommands |
| SPE_CMD_INIT | |
| SPE_CMD_CREATE_PROFILE | |
| SPE_CMD_PUT_PROFILE | |
| SPE_CMD_GET_PROFILE | |
| SPE_CMD_ALIGN |
Definition at line 80 of file DynProgr_SPE.h.
| enum SPEDatatypes |
Definition at line 88 of file DynProgr_SPE.h.
| void* alloc | ( | int | n | ) |
Definition at line 43 of file DynProgr_SPE_main.c.
References ALIGN16, and TOTAL_MEMORY.
Referenced by handleCommand().
| int memRemaining | ( | ) |
Definition at line 49 of file DynProgr_SPE_main.c.
References TOTAL_MEMORY.
Referenced by handleCommand().
| void reset | ( | ) |
const int dataSize[5] = {1,2,4,sizeof(float),sizeof(double)} [static] |
1.5.4