Mercurial > hg > Game > Cerium
changeset 1850:260c0956424d draft
bitreverse and transpose works well on many core ( not GPU ).
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Dec 2013 10:28:18 +0900 |
parents | 0296fa2dfe6d |
children | 637fa9a4105b |
files | example/fft/main.cc |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/example/fft/main.cc Sat Dec 21 09:00:27 2013 +0900 +++ b/example/fft/main.cc Sat Dec 21 10:28:18 2013 +0900 @@ -125,7 +125,7 @@ brev->set_param(1,n); brev->set_inData(0, src, length_src*sizeof(cl_float2)); brev->set_outData(0, dst, length_dst*sizeof(cl_float2)); - brev->set_cpu(spe_cpu); + brev->set_cpu(SPE_ANY); brev->wait_for(waitTask); brev->iterate(gws[0],gws[1]); @@ -240,7 +240,7 @@ first_trns->set_inData(0,rm,length_r*sizeof(cl_float2)); first_trns->set_outData(0,xm,length_r*sizeof(cl_float2)); first_trns->set_param(0,n); - first_trns->set_cpu(spe_cpu); + first_trns->set_cpu(SPE_ANY); first_trns->wait_for(waitTask); first_trns->iterate(gws[0],gws[1]); @@ -271,7 +271,7 @@ second_trns->set_inData(0,xm,length_r*sizeof(cl_float2)); second_trns->set_outData(0,rm,length_r*sizeof(cl_float2)); second_trns->set_param(0,n); - second_trns->set_cpu(spe_cpu); + second_trns->set_cpu(SPE_ANY); second_trns->wait_for(waitTask); second_trns->iterate(gws[0],gws[1]);