# HG changeset patch # User Shinji KONO # Date 1387589298 -32400 # Node ID 260c0956424ddddc73216affd013e443a365c43c # Parent 0296fa2dfe6d1a3f2481c1b5bdcf0c77eb8b32ee bitreverse and transpose works well on many core ( not GPU ). diff -r 0296fa2dfe6d -r 260c0956424d example/fft/main.cc --- 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]);