Mercurial > hg > Gears > GearsAgda
annotate src/parallel_execution/Todo @ 223:8d2519c3a36e
Add input data gear example
author | one |
---|---|
date | Wed, 11 Jan 2017 17:19:53 +0900 |
parents | 00107b452a04 |
children | 578f283efb4a |
rev | line source |
---|---|
175 | 1 Mon Nov 28 17:39:39 JST 2016 |
2 | |
3 Task,TaskManager,Workerのインターフェースの実装を作成する | |
4 Taskを一旦Treeに入れずに直接Queueに入れる | |
5 | |
6 Task | |
7 CodeGen | |
223 | 8 IDataSeg |
9 IDataSeg | |
10 ... | |
175 | 11 idsCount |
223 | 12 nextTask(can be C_exit) |
13 ODataSeg? | |
175 | 14 |
15 TaskManager | |
16 createWorker | |
17 spawn (any,cpu,GPU) | |
18 taskSend | |
19 activeQueue | |
20 shutdown | |
21 deadlockDetectid | |
22 | |
23 SynchronizedQueue * Workerの数だけ | |
24 | |
25 Worker | |
26 execute | |
27 taskRecive | |
28 shutdown |