annotate example/fft/gpu/task_init.cc @ 1786:ba6ffc679a8f draft

minor fix
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Sat, 30 Nov 2013 21:06:44 +0900
parents dc7dd1eaf6de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1731
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #include "Func.h"
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #include "Scheduler.h"
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 SchedExternTask(spinFact);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 SchedExternTask(bitReverse);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 SchedExternTask(norm);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 SchedExternTask(butterfly);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 SchedExternTask(transpose);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 SchedExternTask(highPassFilter);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 void
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 task_init(void)
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 {
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 SchedRegisterTask(SPIN_FACT,spinFact);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 SchedRegisterTask(NORMALIZATION, norm);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 SchedRegisterTask(BIT_REVERSE, bitReverse);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 SchedRegisterTask(BUTTERFLY, butterfly);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 SchedRegisterTask(TRANSPOSE, transpose);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 SchedRegisterTask(HIGH_PASS_FILTER, highPassFilter);
dc7dd1eaf6de add file
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 }