63 *puiArgument0 = spuStatus.m_taskId;
64 *puiArgument1 = spuStatus.m_status;
70 printf(
"STS: Not starting any threads\n");
78 printf(
"STS: Created local store at %p for task %s\n", spuStatus.
m_lsMemory, threadConstructionInfo.
m_uniqueName);
92 printf(
"SequentialThreadSupport::setNumTasks(%d) is not implemented and has no effect\n",numTasks);
175 delete criticalSection;
virtual void deleteCriticalSection(btCriticalSection *criticalSection)
unsigned int mCommonBuff[32]
const char * m_uniqueName
unsigned int getSharedParam(int i)
virtual void sendRequest(uint32_t uiCommand, ppu_address_t uiArgument0, uint32_t uiArgument1)
send messages to SPUs
SequentialThreadSupport(SequentialThreadConstructionInfo &threadConstructionInfo)
SequentiallsMemorySetupFunc m_lsMemoryFunc
virtual void startSPU()
start the spus (can be called at the beginning of each frame, to make sure that the right SPU program...
btAlignedObjectArray< btSpuStatus > m_activeSpuStatus
virtual void setNumTasks(int numTasks)
tell the task scheduler to use no more than numTasks tasks
void setSharedParam(int i, unsigned int p)
void startThreads(SequentialThreadConstructionInfo &threadInfo)
virtual void stopSPU()
tell the task scheduler we are done with the SPU tasks
virtual ~btDummyBarrier()
virtual void deleteBarrier(btBarrier *barrier)
virtual btCriticalSection * createCriticalSection()
SequentialThreadFunc m_userThreadFunc
virtual void waitForResponse(unsigned int *puiArgument0, unsigned int *puiArgument1)
check for messages from SPUs
virtual ~SequentialThreadSupport()
cleanup/shutdown Libspe2
virtual int getMaxCount()
static void barrier(unsigned int a)
virtual ~btDummyCriticalSection()
virtual btBarrier * createBarrier()
#define CMD_GATHER_AND_PROCESS_PAIRLIST
virtual void setMaxCount(int n)
SequentialThreadFunc m_userThreadFunc