annotate example/many_task/README @ 1582:046695c73cb0 draft

add min_cpu(), max_cpu() (Who implements these?)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 Mar 2013 23:34:59 +0900
parents 99ea7b932470
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1514
99ea7b932470 create OpenCL test
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents: 934
diff changeset
1 2012/10/8 tomari
99ea7b932470 create OpenCL test
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents: 934
diff changeset
2 ppe内でmakeしたらCeriumを使わないtest routineが走る
99ea7b932470 create OpenCL test
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents: 934
diff changeset
3
934
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
4 2010/7/31 kono
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
5
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
6 bitoinc sort の一段落を待って、次のtaskを生成する方法だと、
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
7 並列度が、
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
8
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
9 /\/\/\/\/\/\/\/\
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
10 \/\/\/\/\/\/\/\/
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
11
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
12 と言う形になってしまう。全部、いっぺんに生成するのが楽だが、
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
13 sort が大きい時に task の数が大きくなりすぎる。
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
14
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
15 安直に、wait_for すると、そのtaskが既に終っていることがある。
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
16 もっとひどいことに、別なtaskを待ってしまう可能性もある。
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
17 これは、防ごうと思えば防げるが...
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
18
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
19 自分で明示的にtaskを解放する方式にすると言う手もあるが...
83b64b7a51bd sort fix ( not working now )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 651
diff changeset
20
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21 /**
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
22 * $Id: README,v 1.1 2008/10/20 10:19:31 gongo Exp $
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
23 */
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
24
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
25 このプログラムは 2008 年前期ゲーム班が作ったソートです。
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
27
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
28 *後期ゲーム班へ
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
29 動くのは確認したので、どんな動作が行われているかは
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
30 がんばって解読してください。
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
31 わからないことがあれば前期ゲーム班に聞いてください。
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
32 e065723 Kinjo とか e065748 Nunota がわかると思います。
651
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
33
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
34