view src/parallel_execution/Worker.cbc @ 437:2c1b1d56bf1e

Work CUDAbitonicSort by CUDAExecutor
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Sat, 04 Nov 2017 08:30:25 +0900
parents 9f8a87389b68
children
line wrap: on
line source

typedef struct Worker<Impl>{
    union Data* worker;
    __code taskReseive(struct Worker* worker,struct Queue* queue);
    __code shutdown(Impl* worker);
    __code next(...);
    struct Queue* queue;
} Worker;