Skip to content
Snippets Groups Projects
Commit 3caf8db4 authored by Sarod Yatawatta's avatar Sarod Yatawatta
Browse files

COB-153: double input

parent 807aec65
No related branches found
No related tags found
1 merge request!249COB 153 - Doppler correction in correlator pipeline
...@@ -106,7 +106,7 @@ typedef const float (*WeightsType)[NR_CHANNELS][NR_TAPS]; ...@@ -106,7 +106,7 @@ typedef const float (*WeightsType)[NR_CHANNELS][NR_TAPS];
// this is faster than doing "pol ? sin(phi) : cos(phi)" // this is faster than doing "pol ? sin(phi) : cos(phi)"
// because that statement forces CUDA to still compute both // because that statement forces CUDA to still compute both
// as GPUs always compute both branches. // as GPUs always compute both branches.
inline __device__ float sincos_d2f_select(float phi, int ri) inline __device__ float sincos_d2f_select(double phi, int ri)
{ {
double r[2]; double r[2];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment