Closed GoogleCodeExporter closed 9 years ago
Example with change in PRN value:
--- correlation records:
PNi Si Ni iPN iMagMax PN# Mag.Max Max/Avg Ti.. PlTi Nse.Max Nse.Avg Ph@Mx
Frx... Fl S/N.. S
...
28 7 0 000 00000.0 041 00011.1 003.706 0010 0010 00000.0 00011.3 0.48 10.25 N 0.99 N
29 7 1 000 00000.0 008 00018.7 004.234 0017 0017 00000.0 00011.3 1.90 2.25 N 1.66 Y
30 7 2 000 00000.0 043 00033.1 004.220 0017 0017 00000.0 00011.3 -1.67 2.25 N 2.94 Y
31 7 3 000 00000.0 008 00029.9 002.830 0017 0017 00000.0 00011.3 1.27 2.12 N 2.66 Y
Original comment by f4ex...@gmail.com
on 20 Jan 2013 at 7:25
Ii seems that in the CUDA case unselected records that is records with
unidentifiable pilot correlation contribute to the average while in the host
version they do not. In all problem cases at least one record is marked with
"N" in the selected ("S") column.
Original comment by f4ex...@gmail.com
on 20 Jan 2013 at 10:47
While the remark above is actually a problem and that it was fixed in a test
version this does not solve the original problem. Here is a new example:
--- correlation records:
PNi Si Ni iPN iMagMax PN# Mag.Max Max/Avg Ti.. PlTi Nse.Max Nse.Avg Ph@Mx
Frx... Fl S/N.. S
...
28 7 0 000 00000.0 016 00035.5 012.162 0019 0019 00000.0 00007.5 -1.47 2.12 N 4.74 Y
29 7 1 000 00000.0 016 00115.5 016.962 0019 0019 00000.0 00007.5 -1.22 2.12 N 15.42 Y
30 7 2 000 00000.0 016 00123.2 014.057 0018 0018 00000.0 00007.5 -1.08 2.00 N 16.46 Y
31 7 3 000 00000.0 016 00100.3 010.956 0018 0018 00000.0 00007.5 -1.02 2.00 N 13.40 Y
Original comment by f4ex...@gmail.com
on 20 Jan 2013 at 10:56
The host implementation does the averaging sum on the magnitude of complex
correlations while the CUDA implementation does the averaging sum on the
complex correlations then takes the magnitude. It could explain the difference.
The host implementation used to do the complex sum but that was commented out.
This tends to prove it was not successful so the sum of magnitudes should be
preferred. In that case we will observe an increase in value during the symbol
integration.
Original comment by f4ex...@gmail.com
on 20 Jan 2013 at 11:15
This issue was closed by revision 18a65cec70aa.
Original comment by f4ex...@gmail.com
on 21 Jan 2013 at 10:57
Original issue reported on code.google.com by
f4ex...@gmail.com
on 20 Jan 2013 at 7:20