Mercurial > hg > GearsTemplate
diff src/parallel_execution/context.h @ 411:0eba9a04633f
Work CUDAtwice
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 14 Sep 2017 18:26:52 +0900 |
parents | 85b0ddbf458e |
children | 54352ed97f34 |
line wrap: on
line diff
--- a/src/parallel_execution/context.h Thu Sep 14 02:35:20 2017 +0900 +++ b/src/parallel_execution/context.h Thu Sep 14 18:26:52 2017 +0900 @@ -171,10 +171,10 @@ enum Code shutdown; enum Code next; struct Queue* tasks; + pthread_t thread; struct TaskManager* taskManager; } Worker; struct CPUWorker { - pthread_t thread; pthread_mutex_t mutex; pthread_cond_t cond; struct Context* context;