diff src/parallel_execution/worker.c @ 148:473b7d990a1f

fix data gears type enum
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 10 Nov 2016 12:07:53 +0900
parents d529c024e5a5
children 63ab65b28466
line wrap: on
line diff
--- a/src/parallel_execution/worker.c	Thu Nov 10 10:35:48 2016 +0900
+++ b/src/parallel_execution/worker.c	Thu Nov 10 12:07:53 2016 +0900
@@ -14,7 +14,7 @@
         context->next = GetQueue;
         node->key = ((struct Task *)(first->data))->key;
 
-        struct Traverse *t = &context->data[Traverse]->traverse;
+        struct Traverse *t = &context->data[D_Traverse]->traverse;
         t->next = ((struct Task *)(first->data))->code;
         goto meta(context, C_get);
     } else {
@@ -23,7 +23,7 @@
 }
 
 __code getQueue_stub(struct Context* context) {
-    goto getQueue(context, &context->data[ActiveQueue]->queue, &context->data[Node]->node);
+    goto getQueue(context, &context->data[D_ActiveQueue]->queue, &context->data[D_Node]->node);
 }
 
 #ifdef USE_CUDA