view TaskManager/test/GpuThreadTest/GpuScheduler.h @ 1441:50d2c1e85535 draft

change to get size for fstat
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Mon, 23 Apr 2012 18:53:35 +0900
parents d66dcb067c89
children
line wrap: on
line source

#ifndef INCLUDED_GPU_SCHEDULER
#define INCLUDED_GPU_SCHEDULER

#include "Scheduler.h"

#ifdef __APPLE__
#include <OpenCL/opencl.h>
#else
#include <CL/cl.h>
#endif

class GpuScheduler : public Scheduler {
public:
    void init_impl(int useRefDma);
    int run();

private:

};

#endif

#define GpuSchedRegister(str, filename, functionname) \
  gpu_register_task(str, filename, functionname)