Mercurial > hg > GearsTemplate
changeset 175:00107b452a04
add Todo
author | mir3636 |
---|---|
date | Mon, 28 Nov 2016 17:49:08 +0900 |
parents | f9ed0b8f7132 |
children | f0427e27dd7b |
files | src/parallel_execution/Todo src/parallel_execution/worker.c |
diffstat | 2 files changed, 27 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/parallel_execution/Todo Mon Nov 28 17:49:08 2016 +0900 @@ -0,0 +1,26 @@ +Mon Nov 28 17:39:39 JST 2016 + + Task,TaskManager,Workerのインターフェースの実装を作成する + Taskを一旦Treeに入れずに直接Queueに入れる + + Task + CodeGen + DataSeg + DataSeg + DataSeg + idsCount + + TaskManager + createWorker + spawn (any,cpu,GPU) + taskSend + activeQueue + shutdown + deadlockDetectid + + SynchronizedQueue * Workerの数だけ + + Worker + execute + taskRecive + shutdown
--- a/src/parallel_execution/worker.c Mon Nov 28 17:07:19 2016 +0900 +++ b/src/parallel_execution/worker.c Mon Nov 28 17:49:08 2016 +0900 @@ -15,7 +15,7 @@ __code getTask2(struct Context* context, struct Task* task, struct Node* node) { node->key = task->key; - struct Traverse *t = &context->data[D_Traverse]->Traverse; + struct Tree *t = &context->data[D_Traverse]->Traverse; t->next = task->code; context->next = C_getTask1; goto meta(context, C_get);