Mercurial > hg > Members > Moririn
diff src/parallel_execution/Executor.cbc @ 435:af0ec811b20e
Add CUDAExecutor
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 04 Nov 2017 04:14:36 +0900 |
parents | |
children | 5a737c3df91c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/parallel_execution/Executor.cbc Sat Nov 04 04:14:36 2017 +0900 @@ -0,0 +1,7 @@ +typedef struct Executor<Impl>{ + union Data* Executor; + struct Context* task; + __code read(Impl* executor, struct Context* task, __code next(...)); + __code exec(Impl* executor, struct Context* task, __code next(...)); + __code write(Impl* executor, struct Context* task, __code next(...)); +}