Mercurial > hg > Game > Cerium
diff example/fft/main.cc @ 1732:6acaf7f6ad97 draft
minor fix
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 31 Oct 2013 21:08:56 +0900 |
parents | e99dc86d39e2 |
children | 91b690b27066 |
line wrap: on
line diff
--- a/example/fft/main.cc Thu Oct 31 21:07:30 2013 +0900 +++ b/example/fft/main.cc Thu Oct 31 21:08:56 2013 +0900 @@ -251,7 +251,7 @@ hpfl->set_inData(0,rm,length_r*sizeof(cl_float2)); hpfl->set_outData(0, rm, length_r*sizeof(cl_float2)); hpfl->set_param(3,n); - hpfl->set_param(4,radius); + hpfl->set_param(4,&radius); hpfl->set_cpu(spe_cpu); hpfl->wait_for(waitTask); hpfl->iterate(gws[0],gws[1]);