view TaskManager/Cell/spe/SpeTaskManagerImpl.cc @ 1229:424c1f16e704 draft

add args useRefDma
author Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
date Wed, 24 Aug 2011 07:45:27 +0900
parents 5393bebe0956
children af2adce9752e
line wrap: on
line source

#include "SpeTaskManagerImpl.h"
#include "Scheduler.h"
#include <stdlib.h>

SpeTaskManagerImpl::SpeTaskManagerImpl() {}
SpeTaskManagerImpl::~SpeTaskManagerImpl() {}

void SpeTaskManagerImpl::init(int spuIdle_, int useRefDma) {}
void SpeTaskManagerImpl::run() {}

HTaskPtr SpeTaskManagerImpl::create_task(int cmd) {return 0;}
HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws) { return 0; }
void SpeTaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
void SpeTaskManagerImpl::spawn_task(HTaskPtr) {}
void SpeTaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}

void SpeTaskManagerImpl::show_profile() {}
void SpeTaskManagerImpl::start_profile() {}

void SpeTaskManagerImpl::print_arch() { printf("SpeTaskManagerImpl\n"); }

// Odd
#ifndef __CERIUM_FIFO__

TaskManagerImpl::TaskManagerImpl(int i) {}
void TaskManagerImpl::append_activeTask(HTask* p) {}
void TaskManagerImpl::append_waitTask(HTask* p) {}


HTaskPtr TaskManagerImpl::create_task(int cmd,void *from) {return 0;}
HTaskPtr TaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws,void *from) { return 0; }
HTask * TaskManagerImpl::create_task_array(int id, int num_task, int num_param, int num_inData, int num_outData,void *from) {return 0;}
void TaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
void TaskManagerImpl::spawn_task(HTaskPtr) {}
void TaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}

#endif