Mercurial > hg > GearsTemplate
view src/parallel_execution/Iterator.cbc @ 429:54352ed97f34
Rename macro from ALLOC_ARRAY to ALLOCATE_PTR_ARRAY
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 09 Oct 2017 14:55:23 +0900 |
parents | 85b0ddbf458e |
children |
line wrap: on
line source
typedef struct Iterator<Impl>{ union Data* iterator; struct Context* task; int numGPU; __code exec(Impl* iterator, struct TaskManager* taskManager, struct Context* task, int numGPU, __code next(...)); __code barrier(Impl* iterator, struct Context* task, __code next(...), __code whenWait(...)); __code whenWait(...); __code next(...); } Iterator;