annotate example/renew_task/ppe/Renew4.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
192
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
1 #include <stdio.h>
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
2 #include "Renew4.h"
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
3 #include "Func.h"
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
4
298
768452fab95e from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 192
diff changeset
5 /* これは必須 */
192
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
6 SchedDefineTask(Renew4);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
7
467
839e34d0cc3c fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 298
diff changeset
8 static int
839e34d0cc3c fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 298
diff changeset
9 run(SchedTask *s, void *rbuf, void *wbuf)
192
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
10 {
467
839e34d0cc3c fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 298
diff changeset
11 s->printf("[PPE] ** running Renew4\n");
192
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
12
467
839e34d0cc3c fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 298
diff changeset
13 s->printf("[PPE] ** finish Renew4\n");
192
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
14
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
15 return 0;
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
16 }