diff src/parallel_execution/context.h @ 461:6b71cf5b1c22

Change Interface files from cbc to header
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Wed, 20 Dec 2017 17:54:15 +0900
parents 57c715bd6283
children 8d7e5d48cad3
line wrap: on
line diff
--- a/src/parallel_execution/context.h	Sat Dec 16 06:04:32 2017 +0900
+++ b/src/parallel_execution/context.h	Wed Dec 20 17:54:15 2017 +0900
@@ -155,11 +155,6 @@
         struct Context* task;
         struct Queue* tasks;
         union Data* data;
-        int worker;
-        int cpu;
-        int gpu;
-        int io;
-        int maxCPU;
     } TaskManager;
     struct TaskManagerImpl {
         enum Code next;
@@ -172,6 +167,10 @@
         struct Queue* taskQueue;
         struct Worker** workers;
         struct LoopCounter* loopCounter;
+        int cpu;
+        int gpu;
+        int io;
+        int maxCPU;
     } TaskManagerImpl;
     struct Worker {
         union Data* worker;