view src/parallel_execution/Semaphore.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 de1e315379c6
children
line wrap: on
line source

typedef struct Semaphore<Impl>{
        union Data* semaphore;
        __code p(Impl* semaphore, __code next(...)); 
        __code v(Impl* semaphore, __code next(...)); 
        __code next(...);
} Semaphore;