Mercurial > hg > Game > Cerium
view example/renew_task/spe/spe-main.cc @ 2069:26aa08c9a1de draft default tip
cuda example fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 12 Feb 2017 10:04:55 +0900 |
parents | 839e34d0cc3c |
children |
line wrap: on
line source
#include "Func.h" #include "SchedTask.h" SchedExternTask(RenewStart); SchedExternTask(Renew1); SchedExternTask(Renew2); SchedExternTask(Renew3); SchedExternTask(Renew4); /** * この関数は SpeScheduler から呼ばれるので * 必ずこの関数名でお願いします。 */ void task_init(Scheduler *s) { SchedRegisterTask(RENEW_START, RenewStart); SchedRegisterTask(RENEW1, Renew1); SchedRegisterTask(RENEW2, Renew2); SchedRegisterTask(RENEW3, Renew3); SchedRegisterTask(RENEW4, Renew4); }