# HG changeset patch # User mir3636 # Date 1480322948 -32400 # Node ID 00107b452a04f2ab2e1bb3a6aaf322843b8215df # Parent f9ed0b8f71321e9c42c3e8e6d50170cb462a5b5c add Todo diff -r f9ed0b8f7132 -r 00107b452a04 src/parallel_execution/Todo --- /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 diff -r f9ed0b8f7132 -r 00107b452a04 src/parallel_execution/worker.c --- 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);