Mercurial > hg > GearsTemplate
comparison src/parallel_execution/context.h @ 222:77faa28128b4
Add taskSend for TaskManager
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 11 Jan 2017 16:52:27 +0900 |
parents | d8a59b727f65 |
children | a1fb3f2d1a36 |
comparison
equal
deleted
inserted
replaced
221:2454f4392316 | 222:77faa28128b4 |
---|---|
90 struct Worker { | 90 struct Worker { |
91 int id; | 91 int id; |
92 struct Context* contexts; | 92 struct Context* contexts; |
93 enum Code execute; | 93 enum Code execute; |
94 enum Code taskSend; | 94 enum Code taskSend; |
95 enum Code taskRecive; | 95 enum Code taskReceive; |
96 enum Code shutdown; | 96 enum Code shutdown; |
97 struct Queue* tasks; | 97 struct Queue* tasks; |
98 } Worker; | 98 } Worker; |
99 #ifdef USE_CUDA | 99 #ifdef USE_CUDA |
100 struct CudaTask { | 100 struct CudaTask { |