Refactor PV Beamline Peak
This MR refactors PV Beamline Peak by dividing the logic into two kernels.
PV Beamline Peak's time in the NVIDIA profiler is a red herring. It is an example where the latency is high, but the amount of GPU resources it takes is insignificant. This can be proven by running the same kernel twice in the algorithm, which results in a negligible time overhead.
Edited by Daniel Hugo Campora Perez