Mercurial > hg > GearsTemplate
comparison src/parallel_execution/context.h @ 450:d3d7a7d6a117
Delete USE_CUDA_MAIN_THREAD
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 04 Dec 2017 04:24:30 +0900 |
parents | 0181b7fa5f53 |
children | dcc42f3e7e97 |
comparison
equal
deleted
inserted
replaced
449:0181b7fa5f53 | 450:d3d7a7d6a117 |
---|---|
141 } TimeImpl; | 141 } TimeImpl; |
142 struct LoopCounter { | 142 struct LoopCounter { |
143 int i; | 143 int i; |
144 } LoopCounter; | 144 } LoopCounter; |
145 struct TaskManager { | 145 struct TaskManager { |
146 #ifdef USE_CUDA_MAIN_THREAD | |
147 volatile | |
148 #endif | |
149 union Data* taskManager; | 146 union Data* taskManager; |
150 enum Code spawn; // start NEW context on the worker | 147 enum Code spawn; // start NEW context on the worker |
151 enum Code spawnTasks; // start NEW tasks on the worker | 148 enum Code spawnTasks; // start NEW tasks on the worker |
152 enum Code shutdown; | 149 enum Code shutdown; |
153 enum Code incrementTaskCount; | 150 enum Code incrementTaskCount; |