annotate paper/src/queueTake.cbc @ 91:4232c9dc1431

update
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Fri, 05 Feb 2021 19:09:08 +0900
parents d94a41940586
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 __code odgCommitCUDAWorker3(struct CUDAWorker* worker, struct Context* task) {
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 int i = worker->loopCounter;
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 struct Queue* queue = GET_WAIT_LIST(task->data[task->odg+i]);
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 goto queue->take(odgCommitCUDAWorker4);
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 }