Mercurial > hg > Game > Cerium
diff example/cuda_fft/fft.cu @ 2010:6fced32f85fd draft
wrong result
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 11 Jun 2014 11:24:58 +0900 |
parents | bc2121b09cbc |
children | faaea4e1ce1c |
line wrap: on
line diff
--- a/example/cuda_fft/fft.cu Tue Jun 03 18:12:25 2014 +0900 +++ b/example/cuda_fft/fft.cu Wed Jun 11 11:24:58 2014 +0900 @@ -123,7 +123,6 @@ spinFact(float2* w, int n) { unsigned long i = blockIdx.x*blockDim.x+threadIdx.x; // (unsigned long)s->get_param(0); - float2 angle; angle.x = (float)(2*i*PI/(float)n); angle.y = (float)((2*i*PI/(float)n) + PI_2);