Mercurial > hg > Game > Cerium
diff example/fft/ppe/transpose.cc @ 1835:144e573b030b draft
fix fft
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 20 Dec 2013 03:00:32 +0900 |
parents | b0376e1c51e9 |
children |
line wrap: on
line diff
--- a/example/fft/ppe/transpose.cc Thu Dec 19 11:11:41 2013 +0900 +++ b/example/fft/ppe/transpose.cc Fri Dec 20 03:00:32 2013 +0900 @@ -18,7 +18,7 @@ unsigned long xgid = s->x; // (unsigned long)s->get_param(0); unsigned long ygid = s->y; // (unsigned long)s->get_param(1); - long n = (long)s->get_param(3); + long n = (long)s->get_param(0); unsigned int iid = ygid * n + xgid; unsigned int oid = xgid * n + ygid;