Mercurial > hg > Game > Cerium
changeset 1484:fc1d9f87853b draft
add task_init
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 06 Aug 2012 20:01:59 +0900 |
parents | f402f6444237 |
children | cdf5d5d60b71 |
files | TaskManager/test/GpuRunTest/task_init.cc |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/test/GpuRunTest/task_init.cc Mon Aug 06 20:01:59 2012 +0900 @@ -0,0 +1,11 @@ +#include "GpuFunc.h" +#include "GpuScheduler.h" + +extern void gpu_register_task(int, const char*, const char*); + +void +task_init(void) +{ + int cmd = SchedRun; + GpuSchedRegister(cmd, "twice.cl", "twice"); +}