view TaskManager/Gpu/GpuTaskManagerImpl.h @ 1445:ef6933a92fff draft

debug GpuTaskManagerImpl
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Mon, 23 Apr 2012 22:01:08 +0900
parents fa6723e7d329
children e8ff87511f46
line wrap: on
line source

#ifndef INCLUDED_GPU_TASK_MANAGER_IMPL
#define INCLUDED_GPU_TASK_MANAGER_IMPL

#include "TaskManagerImpl.h"
#include "FifoTaskManagerImpl.h"
#include "GpuThreads.h"
#include "QueueInfo.h"

class GpuTaskManagerImpl : public TaskManagerImpl {
public:
    GpuTaskManagerImpl(int num, Threads *gpus) : TaskManagerImpl(num) {gpuThreads = gpus;}
    ~GpuTaskManagerImpl();

    void init(int spuIdle,int useRefDma);
    void run();
    void poll();
    void set_runTaskList();
    void sendTaskList();
    void send_taskList();
    void mail_check();

    void start_profile(){}
    void show_profile(){} 
    void polling(){}
    void print_arch(){}

public:
    QueueInfo<TaskList> *gpuTaskList;
    QueueInfo<TaskList> *taskListInfo;

    FifoTaskManagerImpl *ppeManager;

    Threads *gpuThreads;

};

#endif