Skip to content

Commit

Permalink
fix multi-field
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcarcamov committed Jan 12, 2017
1 parent dd9da76 commit 1f94697
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/functions.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ __global__ void phase_rotate(cufftComplex *data, long M, long N, float xphs, flo
v = dv * (i-N);
}

phase = -2.0*(u+v);
phase = 2.0*(u+v);
#if (__CUDA_ARCH__ >= 300 )
sincospif(phase, &s, &c);
#else
Expand Down Expand Up @@ -1149,6 +1149,8 @@ __global__ void residual(cufftComplex *Vr, cufftComplex *Vm, cufftComplex *Vo, l
}




__global__ void residual_XCORR(cufftComplex *Vr, cufftComplex *Vm, cufftComplex *Vo, float alpha, long numVisibilities)
{
int i = threadIdx.x + blockDim.x * blockIdx.x;
Expand Down

0 comments on commit 1f94697

Please sign in to comment.