diff src/parallel_execution/context.h @ 320:f730761bb044

non CUDA case clean up
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 15 Feb 2017 20:53:06 +0900
parents 54d203daf06b
children f23f6d0aa4e9
line wrap: on
line diff
--- a/src/parallel_execution/context.h	Wed Feb 15 20:43:55 2017 +0900
+++ b/src/parallel_execution/context.h	Wed Feb 15 20:53:06 2017 +0900
@@ -102,7 +102,10 @@
         int i;
     } LoopCounter;
     struct TaskManager {
-        volatile union Data* taskManager;
+#ifdef USE_CUDA_MAIN_THREAD
+        volatile 
+#endif
+        union Data* taskManager;
         enum Code createTask; // create NEW  contexts for execution & argument
         enum Code spawn;      // start NEW context on the worker
         enum Code shutdown;